diff --git a/src/compiler-debugging.md b/src/compiler-debugging.md index c7f799a03..2cd577d35 100644 --- a/src/compiler-debugging.md +++ b/src/compiler-debugging.md @@ -52,8 +52,8 @@ The compiler has a bunch of `-Z` flags. These are unstable flags that are only enabled on nightly. Many of them are useful for debugging. To get a full listing of `-Z` flags, use `-Z help`. -One useful flag is `-Z verbose`, which generally enables printing more info that -could be useful for debugging. +One useful flag is `-Z verbose-internals`, which generally enables printing more +info that could be useful for debugging. ## Getting a backtrace [getting-a-backtrace]: #getting-a-backtrace diff --git a/src/tests/compiletest.md b/src/tests/compiletest.md index 7c3c853fe..e57b50892 100644 --- a/src/tests/compiletest.md +++ b/src/tests/compiletest.md @@ -597,7 +597,7 @@ revision. To do this, add `[revision-name]` after the `//` comment, like so: ```rust,ignore // A flag to pass in only for cfg `foo`: -//@[foo]compile-flags: -Z verbose +//@[foo]compile-flags: -Z verbose-internals #[cfg(foo)] fn test_foo() {