rust/compiler/rustc_trait_selection/src
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
..
traits Rollup merge of #104931 - Swatinem:async-pretty, r=eholk 2022-11-27 16:03:08 +01:00
autoderef.rs Simplify a bunch of trait ref obligation creations 2022-11-25 00:04:54 -03:00
errors.rs Don't print full paths in overlap errors 2022-11-10 05:41:09 +00:00
infer.rs Stop passing the self-type as a separate argument. 2022-11-21 20:39:46 +00:00
lib.rs Use iterators instead of slices at more sites 2022-11-21 20:34:28 +00:00