diff options
author | Arpad Borsos <swatinem@swatinem.de> | 2022-11-30 19:34:19 +0100 |
---|---|---|
committer | Arpad Borsos <swatinem@swatinem.de> | 2022-11-30 19:53:59 +0100 |
commit | b5ae4c9629f697034fb93f660202f354f13b74c3 (patch) | |
tree | 069443398839868ea0cebdb13618e501257edd95 /tests/rustdoc-js-std/parser-errors.js | |
parent | 8de4b138455add55bde6de5553a933a2ab79b71f (diff) | |
download | rust-b5ae4c9629f697034fb93f660202f354f13b74c3.tar.gz |
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`.
Diffstat (limited to 'tests/rustdoc-js-std/parser-errors.js')
0 files changed, 0 insertions, 0 deletions