rust/compiler/rustc_metadata
bors 99930ac7f8 Auto merge of #95880 - cjgillot:def-ident-span, r=petrochenkov
Handle `def_ident_span` like `def_span`.

`def_ident_span` had an ad-hoc status in the compiler.

This PR refactors it to be a first-class citizen like `def_span`:
- it gets encoded in the main metadata loop, instead of the visitor;
- its implementation is updated to mirror the one of `def_span`.

We do not remove the `Option` in the return type, since some items do not have an ident, AnonConsts for instance.
2022-06-11 20:08:48 +00:00
..
src Auto merge of #95880 - cjgillot:def-ident-span, r=petrochenkov 2022-06-11 20:08:48 +00:00
Cargo.toml Initial fixes on top of type interner commit 2022-05-28 11:38:22 -07:00