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
|
||
|---|---|---|
| .. | ||
| subtype | ||
| trait-bounds | ||
| higher-lifetime-bounds.rs | ||
| higher-lifetime-bounds.stderr | ||
| higher-ranked-lifetime-equality.rs | ||
| higher-ranked-lifetime-equality.stderr | ||
| higher-ranked-lifetime-error.rs | ||
| higher-ranked-lifetime-error.stderr | ||
| leak-check-in-selection.rs | ||
| structually-relate-aliases.rs | ||
| structually-relate-aliases.stderr | ||