diff options
| author | Jubilee <46493976+workingjubilee@users.noreply.github.com> | 2024-03-25 14:35:35 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-03-25 14:35:35 -0700 |
| commit | 977529679609222ed5d4951c737e6eb5ca4e7f11 (patch) | |
| tree | 990a72a76e9d90a10f630fb405e855eaccd6f05f /compiler/rustc_codegen_llvm/src/errors.rs | |
| parent | cf9acea658495038fbe51088b1102d4bf6a7c973 (diff) | |
| parent | 3010fa9afb2a103781c7e9c780401c4ccc76818b (diff) | |
| download | rust-977529679609222ed5d4951c737e6eb5ca4e7f11.tar.gz rust-977529679609222ed5d4951c737e6eb5ca4e7f11.zip | |
Rollup merge of #122923 - kpreid:print-async-def, r=compiler-errors
In `pretty_print_type()`, print `async fn` futures' paths instead of spans. This makes `-Zprint-type-sizes`'s output easier to read, because the name of an `async fn` is more immediately recognizable than its span. This change will also synergize with my other `-Zprint-type-sizes` PR #122922 which prints the type of child futures being awaited. I also deleted the comment "FIXME(eddyb) should use `def_span`." because it appears to have already been fixed by commit 67727aa7c31a24ea73a91a9134c3653fae8209ab.
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/errors.rs')
0 files changed, 0 insertions, 0 deletions
