about summary refs log tree commit diff
path: root/src/test/compile-fail
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/compile-fail')
-rw-r--r--src/test/compile-fail/repr-transparent-other-items.rs2
-rw-r--r--src/test/compile-fail/repr-transparent-other-reprs.rs2
-rw-r--r--src/test/compile-fail/repr-transparent.rs1
3 files changed, 1 insertions, 4 deletions
diff --git a/src/test/compile-fail/repr-transparent-other-items.rs b/src/test/compile-fail/repr-transparent-other-items.rs
index cf0870866c7..685d62dc3a9 100644
--- a/src/test/compile-fail/repr-transparent-other-items.rs
+++ b/src/test/compile-fail/repr-transparent-other-items.rs
@@ -8,8 +8,6 @@
 // option. This file may not be copied, modified, or distributed
 // except according to those terms.
 
-#![feature(repr_transparent)]
-
 // See also repr-transparent.rs
 
 #[repr(transparent)] //~ ERROR unsupported representation for zero-variant enum
diff --git a/src/test/compile-fail/repr-transparent-other-reprs.rs b/src/test/compile-fail/repr-transparent-other-reprs.rs
index 7b91a6f68e3..a391c0ae1f8 100644
--- a/src/test/compile-fail/repr-transparent-other-reprs.rs
+++ b/src/test/compile-fail/repr-transparent-other-reprs.rs
@@ -8,7 +8,7 @@
 // option. This file may not be copied, modified, or distributed
 // except according to those terms.
 
-#![feature(repr_transparent, repr_align, attr_literals)]
+#![feature(repr_align, attr_literals)]
 
 // See also repr-transparent.rs
 
diff --git a/src/test/compile-fail/repr-transparent.rs b/src/test/compile-fail/repr-transparent.rs
index b5e6a0fa0b1..4d8ec4cdb40 100644
--- a/src/test/compile-fail/repr-transparent.rs
+++ b/src/test/compile-fail/repr-transparent.rs
@@ -14,7 +14,6 @@
 // - repr-transparent-other-items.rs
 
 #![feature(repr_align, attr_literals)]
-#![feature(repr_transparent)]
 
 use std::marker::PhantomData;