about summary refs log tree commit diff
path: root/tests/ui/panic-handler/panic-handler-with-target-feature.rs
diff options
context:
space:
mode:
authorThe Miri Cronjob Bot <miri@cron.bot>2024-04-24 05:04:52 +0000
committerThe Miri Cronjob Bot <miri@cron.bot>2024-04-24 05:04:52 +0000
commit7e968351aa7abb766f56640f7dd9460749ef6f2b (patch)
tree24d179c88d79c08cb94c57cca50cdfaa7579c1a3 /tests/ui/panic-handler/panic-handler-with-target-feature.rs
parentb3affd3e90d44833ca43e8d14c0af54bcd862283 (diff)
parent65d7c1d2d621c607174f429d5f7553210315dbae (diff)
Merge from rustc
Diffstat (limited to 'tests/ui/panic-handler/panic-handler-with-target-feature.rs')
-rw-r--r--tests/ui/panic-handler/panic-handler-with-target-feature.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/ui/panic-handler/panic-handler-with-target-feature.rs b/tests/ui/panic-handler/panic-handler-with-target-feature.rs
index 3dfdd2847bf..8d5ea0703af 100644
--- a/tests/ui/panic-handler/panic-handler-with-target-feature.rs
+++ b/tests/ui/panic-handler/panic-handler-with-target-feature.rs
@@ -9,7 +9,7 @@ use core::panic::PanicInfo;
 
 #[panic_handler]
 #[target_feature(enable = "avx2")]
-//~^ ERROR `panic_impl` language item function is not allowed to have `#[target_feature]`
+//~^ ERROR `#[panic_handler]` function is not allowed to have `#[target_feature]`
 fn panic(info: &PanicInfo) -> ! {
     unimplemented!();
 }