about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src/errors.rs
diff options
context:
space:
mode:
authorKevin Reid <kpreid@switchb.org>2024-03-22 17:43:53 -0700
committerKevin Reid <kpreid@switchb.org>2024-03-25 08:01:15 -0700
commit3010fa9afb2a103781c7e9c780401c4ccc76818b (patch)
treebf4e5985eb572e6c0bd3bd97aa06240571f8b15b /compiler/rustc_codegen_llvm/src/errors.rs
parentaf98101ed89dba94309c64f1fbf37c890d988f9f (diff)
downloadrust-3010fa9afb2a103781c7e9c780401c4ccc76818b.tar.gz
rust-3010fa9afb2a103781c7e9c780401c4ccc76818b.zip
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.

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