]> git.lizzy.rs Git - rust.git/blobdiff - src/libstd/panicking.rs
Auto merge of #68943 - ecstatic-morse:no-useless-drop-on-enum-variants, r=matthewjasper
[rust.git] / src / libstd / panicking.rs
index 54a57b4444c2f7320b767eb7845a5f7daebb07bd..8b12aaaa7e2fd25c6cdf69b9a9d06ffbe122d8c4 100644 (file)
@@ -389,7 +389,7 @@ fn get(&mut self) -> &(dyn Any + Send) {
 #[cfg_attr(not(feature = "panic_immediate_abort"), inline(never))]
 #[cold]
 #[track_caller]
-pub fn begin_panic<M: Any + Send>(msg: M, #[cfg(bootstrap)] _: &(&str, u32, u32)) -> ! {
+pub fn begin_panic<M: Any + Send>(msg: M) -> ! {
     if cfg!(feature = "panic_immediate_abort") {
         unsafe { intrinsics::abort() }
     }