We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bc5c1db commit 63c033cCopy full SHA for 63c033c
src/overview.md
@@ -185,6 +185,15 @@ into the internal representation used by the compiler ([`Ty<'tcx>`]).
185
That information is usedto verify the type safety, correctness and
186
coherence of the types used in the program.
187
188
+### MIR lowering
189
+
190
+The HIR is then [lowered to Mid-level Intermediate Representation (MIR)][mir],
191
+which is used for [borrow checking].
192
193
+Along the way, we also construct the THIR, which is an even more desugared HIR.
194
+THIR is used for pattern and exhaustiveness checking. It is also more
195
+convenient to convert into MIR than HIR is.
196
197
198
[String interning]: https://en.wikipedia.org/wiki/String_interning
199
[`rustc_lexer`]: https://doc.rust-lang.org/nightly/nightly-rustc/rustc_lexer/index.html
0 commit comments