rustc: Fix typo in error message

This commit is contained in:
Damien Grassart 2012-03-18 04:45:03 +01:00
parent 132266b2cb
commit 38ac87f0ff

View File

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