diff options
| author | bors <bors@rust-lang.org> | 2022-04-09 22:48:00 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2022-04-09 22:48:00 +0000 |
| commit | 559c01931b94d82b31d9180f5311244321530607 (patch) | |
| tree | ea02f8a41b55ed98ecc513e41beb5a4cf8d89598 /library/std/src/sys/unix/process/process_unix.rs | |
| parent | 8bf93e9b6791acee3a594ed202fdfe45ad9952b5 (diff) | |
| parent | 672ce1509b6238015c9d915542dc2c7a472c780a (diff) | |
| download | rust-559c01931b94d82b31d9180f5311244321530607.tar.gz rust-559c01931b94d82b31d9180f5311244321530607.zip | |
Auto merge of #95435 - cjgillot:one-name, r=oli-obk
Make def names and HIR names consistent.
The name in the `DefKey` is interned to create the `DefId`, so it does not
require any query to access. This can be leveraged to avoid a few useless
HIR accesses for names.
~In order to achieve that, generic parameters created from universal
impl-trait are given the pretty-printed ast as a name, instead of
`{{opaque}}`.~
~Drive-by: the `TyCtxt::opt_item_name` used a dummy span for non-local
definitions. We have access to `def_ident_span`, so we use it.~
Diffstat (limited to 'library/std/src/sys/unix/process/process_unix.rs')
0 files changed, 0 insertions, 0 deletions
