diff options
| author | Matthias Krüger <matthias.krueger@famsik.de> | 2022-01-15 11:28:26 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-01-15 11:28:26 +0100 |
| commit | 85c119cd519150133279d9f3ae8e964d42a93e6e (patch) | |
| tree | 015cc7c751beafc79b178d966c3b77f85a1c0cad /compiler/rustc_query_impl/src | |
| parent | cd93be0094a135c55533cb0eba342e5aa1324f00 (diff) | |
| parent | a1173cf074ad557e8c896680537969f6b6942368 (diff) | |
| download | rust-85c119cd519150133279d9f3ae8e964d42a93e6e.tar.gz rust-85c119cd519150133279d9f3ae8e964d42a93e6e.zip | |
Rollup merge of #92873 - eholk:async-symbol-names, r=tmandry
Generate more precise generator names Currently all generators are named with a `generator$N` suffix, regardless of where they come from. This means an `async fn` shows up as a generator in stack traces, which can be surprising to async programmers since they should not need to know that async functions are implementated using generators. This change generators a different name depending on the generator kind, allowing us to tell whether the generator is the result of an async block, an async closure, an async fn, or a plain generator. r? `@tmandry` cc `@michaelwoerister` `@wesleywiser` `@dpaoliello`
Diffstat (limited to 'compiler/rustc_query_impl/src')
0 files changed, 0 insertions, 0 deletions
