Make FatalErrorMarker
lower priority than other panics
This commit is contained in:
parent
1d6f05fd37
commit
ff1858e2aa
3 changed files with 30 additions and 14 deletions
|
@ -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.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue