rust/compiler/rustc_middle
Joshua Nelson 67d0db6b00 Fix handling of item names for HIR
- Handle variants, fields, macros in `Node::ident()`
- Handle the crate root in `opt_item_name`
- Factor out `item_name_from_def_id` to reduce duplication
- Look at HIR before the DefId for `opt_item_name`

  This gives accurate spans, which are not available from serialized
  metadata.

- Don't panic on the crate root in `opt_item_name`
- Add comments
2020-11-07 10:37:12 -05:00
..
benches
src Fix handling of item names for HIR 2020-11-07 10:37:12 -05:00
Cargo.toml Address comments 2020-10-27 19:42:02 -04:00
README.md

For more information about how rustc works, see the rustc dev guide.