Skip to content

Commit

Permalink
Clarify error message for -C opt-level
Browse files Browse the repository at this point in the history
The new levels s and z are not mentioned as possible values.
  • Loading branch information
birkenfeld committed Nov 1, 2018
1 parent c613d26 commit cf1406c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/librustc/session/config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2083,7 +2083,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
),
);
Expand Down

0 comments on commit cf1406c

Please sign in to comment.