summaryrefslogtreecommitdiffstats
path: root/tests/ui/panic-handler/panic-handler-bad-signature-3.rs
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--tests/ui/panic-handler/panic-handler-bad-signature-3.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/ui/panic-handler/panic-handler-bad-signature-3.rs b/tests/ui/panic-handler/panic-handler-bad-signature-3.rs
index ab9c9d7f4..9e17e32fb 100644
--- a/tests/ui/panic-handler/panic-handler-bad-signature-3.rs
+++ b/tests/ui/panic-handler/panic-handler-bad-signature-3.rs
@@ -6,6 +6,6 @@
use core::panic::PanicInfo;
#[panic_handler]
-fn panic() -> ! { //~ ERROR function should have one argument
+fn panic() -> ! { //~ #[panic_handler]` function has wrong type [E0308]
loop {}
}