rust/compiler/rustc_metadata/src
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
..
rmeta Auto merge of #95880 - cjgillot:def-ident-span, r=petrochenkov 2022-06-11 20:08:48 +00:00
creader.rs Make Lazy not care about lifetimes until decode 2022-05-24 15:54:44 -07:00
dependency_format.rs Remove crate visibility usage in compiler 2022-05-20 20:04:54 -04:00
foreign_modules.rs Remove crate visibility usage in compiler 2022-05-20 20:04:54 -04:00
lib.rs Fully stabilize NLL 2022-06-03 17:16:41 -04:00
locator.rs Remove crate visibility usage in compiler 2022-05-20 20:04:54 -04:00
native_libs.rs Stabilize the bundle native library modifier 2022-06-09 23:12:58 +04:00