about summary refs log tree commit diff
path: root/tests/ui/panic-handler/panic-handler-wrong-location.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/panic-handler/panic-handler-wrong-location.rs')
-rw-r--r--tests/ui/panic-handler/panic-handler-wrong-location.rs2
1 files changed, 1 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 fc3ef401e3d..49685ee4592 100644
--- a/tests/ui/panic-handler/panic-handler-wrong-location.rs
+++ b/tests/ui/panic-handler/panic-handler-wrong-location.rs
@@ -3,6 +3,6 @@
 #![no_std]
 #![no_main]
 
-#[panic_handler] //~ ERROR `panic_impl` language item must be applied to a function
+#[panic_handler] //~ ERROR `panic_impl` lang item must be applied to a function
 #[no_mangle]
 static X: u32 = 42;