mirror of
https://github.com/rust-lang/rust.git
synced 2025-05-14 02:49:40 +00:00
Rollup merge of #55576 - birkenfeld:opt-level-error-msg, r=cramertj
Clarify error message for -C opt-level The new levels s and z are not mentioned as possible values.
This commit is contained in:
commit
6153ce127a
@ -2082,7 +2082,7 @@ pub fn build_session_options_and_crate_config(
|
||||
error_format,
|
||||
&format!(
|
||||
"optimization level needs to be \
|
||||
between 0-3 (instead was `{}`)",
|
||||
between 0-3, s or z (instead was `{}`)",
|
||||
arg
|
||||
),
|
||||
);
|
||||
|
Loading…
Reference in New Issue
Block a user