Make FatalErrorMarker lower priority than other panics
This commit is contained in:
@@ -5,7 +5,7 @@
|
||||
#[must_use]
|
||||
pub struct FatalError;
|
||||
|
||||
pub struct FatalErrorMarker;
|
||||
pub use rustc_data_structures::FatalErrorMarker;
|
||||
|
||||
// Don't implement Send on FatalError. This makes it impossible to panic!(FatalError).
|
||||
// We don't want to invoke the panic handler and print a backtrace for fatal errors.
|
||||
|
||||
Reference in New Issue
Block a user