Fix bad error message copypasta
This commit is contained in:
parent
9c68679f2e
commit
77b3a7ba8b
1 changed files with 2 additions and 2 deletions
|
|
@ -716,8 +716,8 @@ pub fn build_session_options(matches: &getopts::Matches) -> Options {
|
|||
None |
|
||||
Some("2") => FullDebugInfo,
|
||||
Some(arg) => {
|
||||
early_error(format!("optimization level needs to be between \
|
||||
0-3 (instead was `{}`)",
|
||||
early_error(format!("debug info level needs to be between \
|
||||
0-2 (instead was `{}`)",
|
||||
arg).as_slice());
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue