Fix bad error message copypasta

This commit is contained in:
Keegan McAllister 2014-09-12 11:43:32 -07:00
parent 9c68679f2e
commit 77b3a7ba8b

View file

@ -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());
}
}