about summary refs log tree commit diff
path: root/src/doc/rustc-dev-guide
diff options
context:
space:
mode:
authorWho? Me?! <mark-i-m@users.noreply.github.com>2019-06-07 15:51:16 -0500
committerWho? Me?! <mark-i-m@users.noreply.github.com>2019-06-11 11:55:03 -0500
commit32921f754ccfe6aa73d94b087627efb2058eb17c (patch)
tree4566d850946b32e8a05548e7eaefdf8ce908c15d /src/doc/rustc-dev-guide
parentcfb697525cce974324bae94eb01835223a128105 (diff)
Update compiler-debugging.md
Diffstat (limited to 'src/doc/rustc-dev-guide')
-rw-r--r--src/doc/rustc-dev-guide/src/compiler-debugging.md7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/doc/rustc-dev-guide/src/compiler-debugging.md b/src/doc/rustc-dev-guide/src/compiler-debugging.md
index 304f75d802a..0126c250345 100644
--- a/src/doc/rustc-dev-guide/src/compiler-debugging.md
+++ b/src/doc/rustc-dev-guide/src/compiler-debugging.md
@@ -46,9 +46,10 @@ stack backtrace:
   37: rustc_driver::run_compiler
 ```
 
-If you want line numbers for the stack trace, you can enable
-`debuginfo-level = 1` or `debuginfo-level = 2` in your config.toml and rebuild the
-compiler. Then the backtrace will look like this:
+If you want line numbers for the stack trace, you can enable `debug = true` in
+your config.toml and rebuild the compiler (`debuginfo-level = 1` will also add
+line numbers, but `debug = true` gives full debuginfo). Then the backtrace will 
+look like this:
 
 ```text
 stack backtrace: