diff options
| author | Matthias Krüger <matthias.krueger@famsik.de> | 2022-11-27 16:03:08 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-11-27 16:03:08 +0100 |
| commit | 6e6c42c61c5535ffd748b0b1c71b14f2e962da3e (patch) | |
| tree | 5375097616878957e63518741c742518a91beadc /compiler/rustc_codegen_llvm/src/errors.rs | |
| parent | 9ebffb7c3c89471633494f432822eb1175be2b23 (diff) | |
| parent | c96d888bdfb23122c7823445f471b3d284dd07e6 (diff) | |
| download | rust-6e6c42c61c5535ffd748b0b1c71b14f2e962da3e.tar.gz rust-6e6c42c61c5535ffd748b0b1c71b14f2e962da3e.zip | |
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.
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/errors.rs')
0 files changed, 0 insertions, 0 deletions
