summary refs log tree commit diff
path: root/src/doc/rustc-dev-guide
diff options
context:
space:
mode:
authorYutaro Ohno <yutaro.ono.418@gmail.com>2024-04-30 13:28:04 +0900
committerLeón Orell Valerian Liehr <me@fmease.dev>2024-04-30 10:15:49 +0200
commitc76addd0b4bda26c4b733788d94deea39aadd93e (patch)
treec8d313ede125e92f14401e338576ae8f0e8701f3 /src/doc/rustc-dev-guide
parent531ad66bb412a68e59c3dabf89178fbb5f6d7a15 (diff)
downloadrust-c76addd0b4bda26c4b733788d94deea39aadd93e.tar.gz
rust-c76addd0b4bda26c4b733788d94deea39aadd93e.zip
Rename `-Z verbose` to `-Z verbose-internals`
The `-Z verbose` option has been renamed to `-Z verbose-internals` in
commit  b5d83619 [1] (PR #119129 [2]). This commit updates the remaining
`-Z verbose` to `-Z verbose-internals`.

[1]: https://github.com/rust-lang/rust/commit/b5d8361909e9e30a11227aa773099c293a5dca55
[2]: https://github.com/rust-lang/rust/pull/119129
Diffstat (limited to 'src/doc/rustc-dev-guide')
-rw-r--r--src/doc/rustc-dev-guide/src/compiler-debugging.md4
-rw-r--r--src/doc/rustc-dev-guide/src/tests/compiletest.md2
2 files changed, 3 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 c7f799a03cb..2cd577d3564 100644
--- a/src/doc/rustc-dev-guide/src/compiler-debugging.md
+++ b/src/doc/rustc-dev-guide/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/doc/rustc-dev-guide/src/tests/compiletest.md b/src/doc/rustc-dev-guide/src/tests/compiletest.md
index 7c3c853fec7..e57b5089228 100644
--- a/src/doc/rustc-dev-guide/src/tests/compiletest.md
+++ b/src/doc/rustc-dev-guide/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() {