summary refs log tree commit diff
path: root/src/doc/rustc-dev-guide
diff options
context:
space:
mode:
authorLangston Barrett <langston.barrett@gmail.com>2023-03-16 11:13:36 -0400
committerMichael Goulet <michael@errs.io>2023-03-16 18:40:40 -0700
commit4b03d9f7747d80df6ec47a21356b082d87537259 (patch)
tree18e76af69e6109248eab99c88173c9b84073caa0 /src/doc/rustc-dev-guide
parentc40d44324460b556619d047e85b75b795a2c8872 (diff)
downloadrust-4b03d9f7747d80df6ec47a21356b082d87537259.tar.gz
rust-4b03d9f7747d80df6ec47a21356b082d87537259.zip
mir-opt*-level*, not mir-opt
Diffstat (limited to 'src/doc/rustc-dev-guide')
-rw-r--r--src/doc/rustc-dev-guide/src/fuzzing.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/doc/rustc-dev-guide/src/fuzzing.md b/src/doc/rustc-dev-guide/src/fuzzing.md
index e081b354bfd..56d55f2b908 100644
--- a/src/doc/rustc-dev-guide/src/fuzzing.md
+++ b/src/doc/rustc-dev-guide/src/fuzzing.md
@@ -110,8 +110,8 @@ these tools, post both the complete and minimized test cases. Generally,
 When fuzzing rustc, you may want to avoid generating code, since this is mostly
 done by LLVM. Try `--emit=mir` instead.
 
-A variety of compiler flags can uncover different issues. `-Zmir-opt=4` will
-turn on MIR optimization passes that are not run by default, potentially
+A variety of compiler flags can uncover different issues. `-Zmir-opt-level=4`
+will turn on MIR optimization passes that are not run by default, potentially
 uncovering interesting bugs.
 
 If you're fuzzing a compiler you built, you may want to build it with `-C