mirror of
https://github.com/rust-lang/rust.git
synced 2025-06-04 19:29:07 +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,
|
error_format,
|
||||||
&format!(
|
&format!(
|
||||||
"optimization level needs to be \
|
"optimization level needs to be \
|
||||||
between 0-3 (instead was `{}`)",
|
between 0-3, s or z (instead was `{}`)",
|
||||||
arg
|
arg
|
||||||
),
|
),
|
||||||
);
|
);
|
||||||
|
Loading…
Reference in New Issue
Block a user