about summary refs log tree commit diff
path: root/compiler/rustc_span/src
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2025-08-16 10:15:46 +0000
committerbors <bors@rust-lang.org>2025-08-16 10:15:46 +0000
commit2e2642e641a941f0a1400c7827fd89aa86fef8f4 (patch)
treea5101e62d507eefd818274b0fcb477437c50b3c2 /compiler/rustc_span/src
parent1ae7c4907275f10b3db9e886bc8809ec063e45ee (diff)
parent08acba30718281a068ab978f8feded9b871ec9db (diff)
downloadrust-2e2642e641a941f0a1400c7827fd89aa86fef8f4.tar.gz
rust-2e2642e641a941f0a1400c7827fd89aa86fef8f4.zip
Auto merge of #145304 - m-ou-se:simplify-panic, r=oli-obk
Revert "Partially outline code inside the panic! macro".

This reverts https://github.com/rust-lang/rust/pull/115670

Without any tests/benchmarks that show some improvement, it's hard to know whether the change had any positive effect. (And if it did, whether that effect is still achieved today.)
Diffstat (limited to 'compiler/rustc_span/src')
-rw-r--r--compiler/rustc_span/src/symbol.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_span/src/symbol.rs b/compiler/rustc_span/src/symbol.rs
index 8e26aa9e77f..f4a6d0f5891 100644
--- a/compiler/rustc_span/src/symbol.rs
+++ b/compiler/rustc_span/src/symbol.rs
@@ -1593,6 +1593,7 @@ symbols! {
         panic_const_shl_overflow,
         panic_const_shr_overflow,
         panic_const_sub_overflow,
+        panic_display,
         panic_fmt,
         panic_handler,
         panic_impl,
@@ -1838,7 +1839,6 @@ symbols! {
         rustc_coherence_is_core,
         rustc_coinductive,
         rustc_confusables,
-        rustc_const_panic_str,
         rustc_const_stable,
         rustc_const_stable_indirect,
         rustc_const_unstable,