rust/compiler/rustc_const_eval/src/transform
Matthias Krüger 6e6c42c61c
Rollup merge of #104931 - Swatinem:async-pretty, r=eholk
Pretty-print generators with their `generator_kind`

After removing `GenFuture`, I special-cased async generators to pretty-print as `impl Future<Output = X>` mainly to avoid too much diagnostics changes originally.

This now reverses that change so that async fn/blocks are pretty-printed as `[$async-type@$source-position]` in various diagnostics, and updates the tests that this touches.
2022-11-27 16:03:08 +01:00
..
check_consts Rollup merge of #104931 - Swatinem:async-pretty, r=eholk 2022-11-27 16:03:08 +01:00
mod.rs Don't re-export MirPass 2021-11-29 12:58:15 -08:00
promote_consts.rs remove 'delay_span_bug' following 'references_error' 2022-11-03 09:22:08 +08:00
validate.rs Make the ICEs in the mir typechecker have more spans helpful 2022-11-25 08:01:12 +00:00