diff options
| author | Joshua Nelson <jyn514@gmail.com> | 2021-03-27 22:58:25 -0400 |
|---|---|---|
| committer | Joshua Nelson <jyn514@gmail.com> | 2021-05-08 23:13:04 -0400 |
| commit | ebbc94957555350cdc71c4c853de430119f59f9f (patch) | |
| tree | 0139625b2e08d421510ce7bf03064fbf3f256dae /compiler/rustc_errors/src | |
| parent | 96509b483589e8d9ae98d1c075dccef184c8be30 (diff) | |
| download | rust-ebbc94957555350cdc71c4c853de430119f59f9f.tar.gz rust-ebbc94957555350cdc71c4c853de430119f59f9f.zip | |
Note why `Handler::fatal` is different from `Sesssion::fatal`
Diffstat (limited to 'compiler/rustc_errors/src')
| -rw-r--r-- | compiler/rustc_errors/src/lib.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/compiler/rustc_errors/src/lib.rs b/compiler/rustc_errors/src/lib.rs index cbfb5f951b2..dc1664bb2ba 100644 --- a/compiler/rustc_errors/src/lib.rs +++ b/compiler/rustc_errors/src/lib.rs @@ -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) } |
