File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -24,9 +24,8 @@ being a `hair::ExprKind::Neg(hair::Expr)` it is a `hair::ExprKind::Neg(hir::Expr
24
24
This shallowness enables the ` HAIR ` to represent all datatypes that [ HIR] has, but
25
25
without having to create an in-memory copy of the entire [ HIR] .
26
26
[ MIR] lowering will first convert the topmost expression from
27
- [ HIR] to [ HAIR] (in
28
- [ https://doc.rust-lang.org/nightly/nightly-rustc/rustc_mir/hair/cx/expr/index.html ] )
29
- and then process the [ HAIR] expressions recursively.
27
+ [ HIR] to [ HAIR] (in [ rustc_mir::hair::cx::expr] ) and then process
28
+ the [ HAIR] expressions recursively.
30
29
31
30
The lowering creates local variables for every argument as specified in the signature.
32
31
Next it creates local variables for every binding specified (e.g. ` (a, b): (i32, String) ` )
@@ -147,4 +146,6 @@ case of `enum`s.
147
146
[ MIR ] : ./index.html
148
147
[ HIR ] : ../hir.html
149
148
[ HAIR ] : https://doc.rust-lang.org/nightly/nightly-rustc/rustc_mir/hair/index.html
149
+
150
+ [ rustc_mir::hair::cx::expr ] : https://doc.rust-lang.org/nightly/nightly-rustc/rustc_mir/hair/cx/expr/index.html
150
151
[ `mir_built` ] : https://doc.rust-lang.org/nightly/nightly-rustc/rustc_mir/transform/fn.mir_built.html
You can’t perform that action at this time.
0 commit comments