rust/src/librustc
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
..
benches Remove licenses 2018-12-25 21:08:33 -07:00
cfg hir: replace NodeId with HirId in Destination 2019-03-07 12:43:27 +01:00
dep_graph Reduce the DepNode pre-allocation ratio. 2019-04-15 14:00:17 +10:00
hir Auto merge of #59042 - ljedrz:HirIdification_rework_map, r=Zoxc 2019-04-25 00:53:28 +00:00
ich Add rustc_allow_const_fn_ptr 2019-04-23 15:55:31 -07:00
infer Rollup merge of #60177 - rasendubi:rustdoc-comments, r=varkor 2019-04-23 21:50:58 +02:00
lint Rollup merge of #59823 - davidtwco:issue-54716, r=cramertj 2019-04-23 21:50:52 +02:00
middle Add rustc_allow_const_fn_ptr 2019-04-23 15:55:31 -07:00
mir rustc: dissuade compiler developers from misusing upvar debuginfo. 2019-04-23 23:35:21 +03:00
query Add rustc_allow_const_fn_ptr 2019-04-23 15:55:31 -07:00
session Remove double trailing newlines 2019-04-22 16:57:01 +01:00
traits Fix ICE related to #53708 2019-04-22 13:11:53 -07:00
ty Add rustc_allow_const_fn_ptr 2019-04-23 15:55:31 -07:00
util Implement event filtering for self-profiler. 2019-04-18 17:03:53 +02:00
arena.rs Fix a typo 2019-04-09 17:07:36 +02:00
build.rs Remove licenses 2018-12-25 21:08:33 -07:00
Cargo.toml Rollup merge of #59856 - albins:update-polonius, r=nikomatsakis 2019-04-14 17:49:18 +02:00
error_codes.rs Rename diagnostics to error_codes 2019-04-17 18:19:14 +09:00
lib.rs Auto merge of #60025 - JohnTitor:rename-files, r=petrochenkov 2019-04-18 14:52:45 +00:00
macros.rs Remove double trailing newlines 2019-04-22 16:57:01 +01:00
README.md rustc-guide has moved 2018-11-26 15:03:13 -06:00

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