diff options
| author | Keegan McAllister <kmcallister@mozilla.com> | 2014-09-12 11:43:32 -0700 |
|---|---|---|
| committer | Keegan McAllister <kmcallister@mozilla.com> | 2014-09-12 11:46:38 -0700 |
| commit | 77b3a7ba8bf3ea0dd75bbe696c60275807bfe4ae (patch) | |
| tree | 7dd8c107a6dcaa080758f2acab6ee5e66d4c290a | |
| parent | 9c68679f2ebd5b165694e9346e4ad96a3e32aceb (diff) | |
| download | rust-77b3a7ba8bf3ea0dd75bbe696c60275807bfe4ae.tar.gz rust-77b3a7ba8bf3ea0dd75bbe696c60275807bfe4ae.zip | |
Fix bad error message copypasta
| -rw-r--r-- | src/librustc/driver/config.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/librustc/driver/config.rs b/src/librustc/driver/config.rs index 8f4f54ce967..6547d1ed3eb 100644 --- a/src/librustc/driver/config.rs +++ b/src/librustc/driver/config.rs @@ -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()); } } |
