Note why Handler::fatal
is different from Sesssion::fatal
This commit is contained in:
parent
96509b4835
commit
ebbc949575
1 changed files with 1 additions and 0 deletions
|
@ -692,6 +692,7 @@ impl Handler {
|
|||
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 {
|
||||
self.inner.borrow_mut().fatal(msg)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue