summary refs log tree commit diff
path: root/src/doc/rustc-dev-guide
diff options
context:
space:
mode:
authorMacdonald Umoren <macdonald.umoren@gmail.com>2020-09-16 20:50:33 -0400
committerJoshua Nelson <joshua@yottadb.com>2020-09-16 21:56:05 -0400
commit72d3b5ab2868a749cc6d28d268ac4e2ac04e4149 (patch)
treefd14ceeec3ebb2b613af0d27b53548d91157f1e2 /src/doc/rustc-dev-guide
parent4b013d3193566771d2d29e42ab8208c231d1dfea (diff)
downloadrust-72d3b5ab2868a749cc6d28d268ac4e2ac04e4149.tar.gz
rust-72d3b5ab2868a749cc6d28d268ac4e2ac04e4149.zip
debug-logging=true instead of debug-assertions=yes
Diffstat (limited to 'src/doc/rustc-dev-guide')
-rw-r--r--src/doc/rustc-dev-guide/src/compiler-debugging.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/doc/rustc-dev-guide/src/compiler-debugging.md b/src/doc/rustc-dev-guide/src/compiler-debugging.md
index 9c69b151168..e4b04aa9692 100644
--- a/src/doc/rustc-dev-guide/src/compiler-debugging.md
+++ b/src/doc/rustc-dev-guide/src/compiler-debugging.md
@@ -207,10 +207,10 @@ $ RUSTDOC_LOG=rustdoc rustdoc +local my-file.rs
 
 While calls to `error!`, `warn!` and `info!` are included in every build of the compiler,
 calls to `debug!` and `trace!` are only included in the program if
-`debug-assertions=yes` is turned on in config.toml (it is
+`debug-logging=true` is turned on in config.toml (it is
 turned off by default), so if you don't see `DEBUG` logs, especially
 if you run the compiler with `RUSTC_LOG=rustc rustc some.rs` and only see
-`INFO` logs, make sure that `debug-assertions=yes` is turned on in your
+`INFO` logs, make sure that `debug-logging=true` is turned on in your
 config.toml.
 
 In some cases, just setting it will not trigger a rebuild,