diff --git a/src/hir.md b/src/hir.md index 18a9f4dd91a54..240238ff33ef5 100644 --- a/src/hir.md +++ b/src/hir.md @@ -5,7 +5,7 @@ The HIR – "High-Level Intermediate Representation" – is the primary IR used in most of rustc. It is a compiler-friendly representation of the abstract syntax tree (AST) that is generated after parsing, macro expansion, and name -resolution (see [Lowering](./lowering.html) for how the HIR is created). +resolution (see [Lowering](./ast-lowering.html) for how the HIR is created). Many parts of HIR resemble Rust surface syntax quite closely, with the exception that some of Rust's expression forms have been desugared away. For example, `for` loops are converted into a `loop` and do not appear in