diff options
| author | Mazdak Farrokhzad <twingoow@gmail.com> | 2019-09-25 16:26:14 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-09-25 16:26:14 +0200 |
| commit | c26f1296d2d7a5f0c6e0b4f5cc00d59b341bcf09 (patch) | |
| tree | 0ad1d924929f83bda0e7db308753b84daced7c0c /src/libsyntax | |
| parent | acf7b50c737cfb8f4003477559305bedf3c316fe (diff) | |
| parent | 9a6ca413714271adac017cbdd764a7de8b244001 (diff) | |
| download | rust-c26f1296d2d7a5f0c6e0b4f5cc00d59b341bcf09.tar.gz rust-c26f1296d2d7a5f0c6e0b4f5cc00d59b341bcf09.zip | |
Rollup merge of #62975 - ljedrz:kill_off_hir_to_node_id, r=Zoxc
Almost fully deprecate hir::map::Map.hir_to_node_id - HirIdify `doctree::Module.id` - HirIdify `hir::Crate.modules` - introduce a `HirId` to `DefIndex` map in `map::Definitions` The only last uses of `hir::map::Map.hir_to_node_id` in the compiler are: - for the purposes of `driver::pretty` (in `map::nodes_matching_suffix`), but I don't know if we can remove `NodeId`s in there (I think when I attempted it previously there was some issue due to `HirId` not being representable with an integer) - in `ty::query::on_disk_cache` (not sure about the purpose of this one) - in `mir::transform::check_unsafety` (only important for error message order) Any suggestions how to kill these off? r? @Zoxc
Diffstat (limited to 'src/libsyntax')
0 files changed, 0 insertions, 0 deletions
