File tree 1 file changed +2
-2
lines changed
src/doc/rustc-dev-guide/src
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -142,11 +142,11 @@ declared in the file [`compiler/rustc_middle/src/ty/mod.rs`][ty].
142
142
[ ty ] :https://doc.rust-lang.org/nightly/nightly-rustc/rustc_middle/ty/index.html
143
143
144
144
Before we go any further, let's discuss how we can examine the flow of control through the rustc
145
- codebase. For closures specifically, set the ` RUST_LOG ` env variable as below and collect the
145
+ codebase. For closures specifically, set the ` RUSTC_LOG ` env variable as below and collect the
146
146
output in a file:
147
147
148
148
``` console
149
- > RUST_LOG =rustc_hir_typeck::upvar rustc +stage1 -Z dump-mir=all \
149
+ > RUSTC_LOG =rustc_hir_typeck::upvar rustc +stage1 -Z dump-mir=all \
150
150
<.rs file to compile> 2> <file where the output will be dumped>
151
151
```
152
152
You can’t perform that action at this time.
0 commit comments