about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src/errors.rs
diff options
context:
space:
mode:
authorArpad Borsos <swatinem@swatinem.de>2022-11-25 09:53:58 +0100
committerArpad Borsos <swatinem@swatinem.de>2022-11-26 20:42:50 +0100
commitc96d888bdfb23122c7823445f471b3d284dd07e6 (patch)
treeb40b5621facb53829e0f26a061b966b2e3f5b318 /compiler/rustc_codegen_llvm/src/errors.rs
parentaf63e3b39f3990418ad8e0a1b1fa8a722a7c50b0 (diff)
downloadrust-c96d888bdfb23122c7823445f471b3d284dd07e6.tar.gz
rust-c96d888bdfb23122c7823445f471b3d284dd07e6.zip
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 `[$movability `async` $something@$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