mirror of
https://github.com/rust-lang/rust.git
synced 2025-02-10 05:53:10 +00:00
Note why Handler::fatal
is different from Sesssion::fatal
This commit is contained in:
parent
96509b4835
commit
ebbc949575
@ -692,6 +692,7 @@ impl Handler {
|
|||||||
db
|
db
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// NOTE: intentionally doesn't raise an error so rustc_codegen_ssa only reports fatal errors in the main thread
|
||||||
pub fn fatal(&self, msg: &str) -> FatalError {
|
pub fn fatal(&self, msg: &str) -> FatalError {
|
||||||
self.inner.borrow_mut().fatal(msg)
|
self.inner.borrow_mut().fatal(msg)
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user