mirror of
https://github.com/rust-lang/rust.git
synced 2025-01-25 14:13:38 +00:00
rustc: Fix typo in error message
This commit is contained in:
parent
132266b2cb
commit
38ac87f0ff
@ -93,7 +93,7 @@ fn run_compiler(args: [str], demitter: diagnostic::emitter) {
|
||||
ret;
|
||||
}
|
||||
let ifile = alt vec::len(match.free) {
|
||||
0u { early_error(demitter, "o input filename given") }
|
||||
0u { early_error(demitter, "no input filename given") }
|
||||
1u { match.free[0] }
|
||||
_ { early_error(demitter, "multiple input filenames provided") }
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user