Skip to content

Commit 77b3a7b

Browse files
author
Keegan McAllister
committed
Fix bad error message copypasta
1 parent 9c68679 commit 77b3a7b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/librustc/driver/config.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -716,8 +716,8 @@ pub fn build_session_options(matches: &getopts::Matches) -> Options {
716716
None |
717717
Some("2") => FullDebugInfo,
718718
Some(arg) => {
719-
early_error(format!("optimization level needs to be between \
720-
0-3 (instead was `{}`)",
719+
early_error(format!("debug info level needs to be between \
720+
0-2 (instead was `{}`)",
721721
arg).as_slice());
722722
}
723723
}

0 commit comments

Comments
 (0)