Fix path to hir_id_validator.rs
It doesn't look like the old path ever existed.
This commit is contained in:
parent
f423a3ad95
commit
a05e1fd401
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue