summaryrefslogtreecommitdiffstats
path: root/src/test/ui/traits/safety-inherent-impl.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/ui/traits/safety-inherent-impl.rs')
-rw-r--r--src/test/ui/traits/safety-inherent-impl.rs9
1 files changed, 0 insertions, 9 deletions
diff --git a/src/test/ui/traits/safety-inherent-impl.rs b/src/test/ui/traits/safety-inherent-impl.rs
deleted file mode 100644
index 50e15f0d2..000000000
--- a/src/test/ui/traits/safety-inherent-impl.rs
+++ /dev/null
@@ -1,9 +0,0 @@
-// Check that inherent impls cannot be unsafe.
-
-struct SomeStruct;
-
-unsafe impl SomeStruct { //~ ERROR inherent impls cannot be unsafe
- fn foo(self) { }
-}
-
-fn main() { }