about summary refs log tree commit diff
path: root/src/test/compile-fail/trait-safety-inherent-impl.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/compile-fail/trait-safety-inherent-impl.rs')
-rw-r--r--src/test/compile-fail/trait-safety-inherent-impl.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/compile-fail/trait-safety-inherent-impl.rs b/src/test/compile-fail/trait-safety-inherent-impl.rs
index 285d4c1ba8d..059fdc100c9 100644
--- a/src/test/compile-fail/trait-safety-inherent-impl.rs
+++ b/src/test/compile-fail/trait-safety-inherent-impl.rs
@@ -12,7 +12,7 @@
 
 struct SomeStruct;
 
-unsafe impl SomeStruct { //~ ERROR inherent impls cannot be declared as unsafe
+unsafe impl SomeStruct { //~ ERROR inherent impls cannot be unsafe
     fn foo(self) { }
 }