Skip to content

Commit 17a43dc

Browse files
authored
1 parent 5d2d898 commit 17a43dc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/closure.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -142,11 +142,11 @@ declared in the file [`compiler/rustc_middle/src/ty/mod.rs`][ty].
142142
[ty]:https://doc.rust-lang.org/nightly/nightly-rustc/rustc_middle/ty/index.html
143143

144144
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
146146
output in a file:
147147

148148
```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 \
150150
<.rs file to compile> 2> <file where the output will be dumped>
151151
```
152152

0 commit comments

Comments
 (0)