about summary refs log tree commit diff
path: root/src/test/ui/incoherent-inherent-impls/no-attr-empty-impl.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/ui/incoherent-inherent-impls/no-attr-empty-impl.rs')
-rw-r--r--src/test/ui/incoherent-inherent-impls/no-attr-empty-impl.rs18
1 files changed, 0 insertions, 18 deletions
diff --git a/src/test/ui/incoherent-inherent-impls/no-attr-empty-impl.rs b/src/test/ui/incoherent-inherent-impls/no-attr-empty-impl.rs
deleted file mode 100644
index 62c249e5882..00000000000
--- a/src/test/ui/incoherent-inherent-impls/no-attr-empty-impl.rs
+++ /dev/null
@@ -1,18 +0,0 @@
-// aux-build:extern-crate.rs
-extern crate extern_crate;
-
-impl extern_crate::StructWithAttr {}
-//~^ ERROR cannot define inherent `impl` for a type outside of the crate
-
-impl extern_crate::StructNoAttr {}
-//~^ ERROR cannot define inherent `impl` for a type outside of the crate
-
-impl extern_crate::EnumWithAttr {}
-//~^ ERROR cannot define inherent `impl` for a type outside of the crate
-
-impl extern_crate::EnumNoAttr {}
-//~^ ERROR cannot define inherent `impl` for a type outside of the crate
-
-impl f32 {} //~ ERROR cannot define inherent `impl` for primitive types
-
-fn main() {}