rust/src/librustc_privacy
bors 3d21124839 Auto merge of #59042 - ljedrz:HirIdification_rework_map, r=Zoxc
HirIdification: rework Map

The next iteration of HirIdification (#57578).

- remove `NodeId` from `Entry`
- change `Map::map` to an `FxHashMap<HirId, Entry>`
- base the `NodeId` `Map` methods on `HirId` ones (reverses the current state)
- HirIdify `librustdoc` a little bit (some `NodeId` `Map` methods were converted to work on `HirId`s)

The second change might have performance implications, so I'd do a perf run to be sure it's fine; it simplifies the codebase and shouldn't have an impact as long as the `Map` searches are cached (which is now possible thanks to using `HirId`s).

r? @Zoxc
2019-04-25 00:53:28 +00:00
..
Cargo.toml librustc_privacy => 2018 2019-02-03 15:56:35 +01:00
error_codes.rs Rename diagnostics to error_codes 2019-04-17 18:19:14 +09:00
lib.rs Auto merge of #59042 - ljedrz:HirIdification_rework_map, r=Zoxc 2019-04-25 00:53:28 +00:00