Skip to content

Commit ebbc949

Browse files
committed
Note why Handler::fatal is different from Sesssion::fatal
1 parent 96509b4 commit ebbc949

File tree

1 file changed

+1
-0
lines changed
  • compiler/rustc_errors/src

1 file changed

+1
-0
lines changed

compiler/rustc_errors/src/lib.rs

+1
Original file line numberDiff line numberDiff line change
@@ -692,6 +692,7 @@ impl Handler {
692692
db
693693
}
694694

695+
// NOTE: intentionally doesn't raise an error so rustc_codegen_ssa only reports fatal errors in the main thread
695696
pub fn fatal(&self, msg: &str) -> FatalError {
696697
self.inner.borrow_mut().fatal(msg)
697698
}

0 commit comments

Comments
 (0)