Skip to content

Commit a05e1fd

Browse files
danobitshepang
authored andcommitted
Fix path to hir_id_validator.rs
It doesn't look like the old path ever existed.
1 parent f423a3a commit a05e1fd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: src/lowering.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ of such structures include but are not limited to
1818
* Converted to a virtual `existential type` declaration
1919

2020
Lowering needs to uphold several invariants in order to not trigger the
21-
sanity checks in `compiler/rustc_middle/src/hir/map/hir_id_validator.rs`:
21+
sanity checks in `compiler/rustc_passes/src/hir_id_validator.rs`:
2222

2323
1. A `HirId` must be used if created. So if you use the `lower_node_id`,
2424
you *must* use the resulting `NodeId` or `HirId` (either is fine, since

0 commit comments

Comments
 (0)