rollup merge of #21753: dzamlo/master

Before, unknown -Z option would result in a "error: unknown codegen option"
message instead of "error: unknown debugging option".
This commit is contained in:
Alex Crichton 2015-01-30 12:03:30 -08:00
commit 9d970c6528
1 changed files with 2 additions and 2 deletions

View File

@ -333,8 +333,8 @@ macro_rules! options {
break;
}
if !found {
early_error(&format!("unknown codegen option: `{}`",
key)[]);
early_error(&format!("unknown {} option: `{}`",
$outputname, key)[]);
}
}
return op;