summaryrefslogtreecommitdiff
path: root/tests/rustdoc-js-std/parser-errors.js
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2022-12-04 22:46:11 +0000
committerbors <bors@rust-lang.org>2022-12-04 22:46:11 +0000
commitd1449560e31f7f801d81268a3dad783181656dff (patch)
treed56ddb5e322b58132ce5e60aa5bfa6774b551a86 /tests/rustdoc-js-std/parser-errors.js
parent53e4b9dd74c29cc9308b8d0f10facac70bb101a7 (diff)
parentb5ae4c9629f697034fb93f660202f354f13b74c3 (diff)
downloadrust-d1449560e31f7f801d81268a3dad783181656dff.tar.gz
Auto merge of #105094 - Swatinem:generator-not-future, r=compiler-errors
Make sure async constructs do not `impl Generator` Async lowering turns async functions and blocks into generators internally. Though these special kinds of generators should not `impl Generator` themselves. The other way around, normal generators should not `impl Future`. This was discovered in https://github.com/rust-lang/rust/pull/105082#issuecomment-1332210907 and is a regression from https://github.com/rust-lang/rust/pull/104321. r? `@compiler-errors`
Diffstat (limited to 'tests/rustdoc-js-std/parser-errors.js')
0 files changed, 0 insertions, 0 deletions