Fix path to hir_id_validator.rs

It doesn't look like the old path ever existed.
This commit is contained in:
Daniel Xu 2022-07-02 13:37:02 -05:00 committed by Tshepang Mbambo
parent f423a3ad95
commit a05e1fd401
1 changed files with 1 additions and 1 deletions

View File

@ -18,7 +18,7 @@ of such structures include but are not limited to
* Converted to a virtual `existential type` declaration
Lowering needs to uphold several invariants in order to not trigger the
sanity checks in `compiler/rustc_middle/src/hir/map/hir_id_validator.rs`:
sanity checks in `compiler/rustc_passes/src/hir_id_validator.rs`:
1. A `HirId` must be used if created. So if you use the `lower_node_id`,
you *must* use the resulting `NodeId` or `HirId` (either is fine, since