about summary refs log tree commit diff
path: root/tests/ui/panic-handler
diff options
context:
space:
mode:
authorThe Miri Cronjob Bot <miri@cron.bot>2025-05-01 05:01:02 +0000
committerThe Miri Cronjob Bot <miri@cron.bot>2025-05-01 05:01:02 +0000
commit326d77516d2c93fcbb0d2a83949f08c50059f148 (patch)
treeb822e3cb76d25b7c01e93431ed6f2796b23509ff /tests/ui/panic-handler
parent589200ea5ed1d83d8680bc3db6dd6bc559a25539 (diff)
parent28deaa6e0e7993f963b3bb44bb235c7682ce0cf3 (diff)
downloadrust-326d77516d2c93fcbb0d2a83949f08c50059f148.tar.gz
rust-326d77516d2c93fcbb0d2a83949f08c50059f148.zip
Merge from rustc
Diffstat (limited to 'tests/ui/panic-handler')
-rw-r--r--tests/ui/panic-handler/panic-handler-wrong-location.rs1
1 files changed, 0 insertions, 1 deletions
diff --git a/tests/ui/panic-handler/panic-handler-wrong-location.rs b/tests/ui/panic-handler/panic-handler-wrong-location.rs
index c91580ae0c4..8fff7067136 100644
--- a/tests/ui/panic-handler/panic-handler-wrong-location.rs
+++ b/tests/ui/panic-handler/panic-handler-wrong-location.rs
@@ -4,7 +4,6 @@
 #![no_main]
 
 #[panic_handler] //~ ERROR `panic_impl` lang item must be applied to a function
-#[no_mangle]
 static X: u32 = 42;
 
 //~? ERROR `#[panic_handler]` function required, but not found