Merge pull request #2025 from damag/master

Fix typo in error message
This commit is contained in:
Brian Anderson 2012-03-18 17:05:38 -07:00
commit cab02145ba

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