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 /compiler/rustc_codegen_llvm/src | |
| parent | 8de4b138455add55bde6de5553a933a2ab79b71f (diff) | |
| download | rust-b5ae4c9629f697034fb93f660202f354f13b74c3.tar.gz rust-b5ae4c9629f697034fb93f660202f354f13b74c3.zip | |
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 'compiler/rustc_codegen_llvm/src')
0 files changed, 0 insertions, 0 deletions
