Skip to content

Commit 7cabd40

Browse files
committed
auto merge of #11737 : alexcrichton/rust/issue-11729, r=thestinger
Closes #11729
2 parents aa9cf4c + 8edf57e commit 7cabd40

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/librustc/driver/driver.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1134,7 +1134,7 @@ pub fn build_output_filenames(input: &Input,
11341134

11351135
pub fn early_error(emitter: &diagnostic::Emitter, msg: &str) -> ! {
11361136
emitter.emit(None, msg, diagnostic::Fatal);
1137-
fail!();
1137+
fail!(diagnostic::FatalError);
11381138
}
11391139

11401140
pub fn list_metadata(sess: Session, path: &Path, out: &mut io::Writer) {

0 commit comments

Comments
 (0)