about summary refs log tree commit diff
path: root/compiler/rustc_span
diff options
context:
space:
mode:
authorJohn Kåre Alsaker <john.kare.alsaker@gmail.com>2023-11-03 10:56:30 +0100
committerJohn Kåre Alsaker <john.kare.alsaker@gmail.com>2023-11-03 19:46:00 +0100
commitff1858e2aa4c7ff60ae72ec7d90973a7a14b94f9 (patch)
tree30d08fd52a70b2aa02f89e94bb90e29e6d499304 /compiler/rustc_span
parent1d6f05fd3735efc8f5af2f6278a3391543c2790b (diff)
downloadrust-ff1858e2aa4c7ff60ae72ec7d90973a7a14b94f9.tar.gz
rust-ff1858e2aa4c7ff60ae72ec7d90973a7a14b94f9.zip
Make `FatalErrorMarker` lower priority than other panics
Diffstat (limited to 'compiler/rustc_span')
-rw-r--r--compiler/rustc_span/src/fatal_error.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_span/src/fatal_error.rs b/compiler/rustc_span/src/fatal_error.rs
index fa84c486df5..f53e0b10b34 100644
--- a/compiler/rustc_span/src/fatal_error.rs
+++ b/compiler/rustc_span/src/fatal_error.rs
@@ -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.