diff --git a/compiler/rustc_session/src/options.rs b/compiler/rustc_session/src/options.rs index 3999bc8680e..79bbad8307b 100644 --- a/compiler/rustc_session/src/options.rs +++ b/compiler/rustc_session/src/options.rs @@ -1000,7 +1000,7 @@ options! {DebuggingOptions, DebuggingSetter, basic_debugging_options, "emit Retagging MIR statements, interpreted e.g., by miri; implies -Zmir-opt-level=0 \ (default: no)"), mir_opt_level: Option = (None, parse_opt_uint, [TRACKED], - "MIR optimization level (0-3; default: Some(1) in non optimized builds and Some(2) in optimized builds)"), + "MIR optimization level (0-4; default: 1 in non optimized builds and 2 in optimized builds)"), mutable_noalias: bool = (false, parse_bool, [TRACKED], "emit noalias metadata for mutable references (default: no)"), new_llvm_pass_manager: bool = (false, parse_bool, [TRACKED],