about summary refs log tree commit diff
path: root/src/test/compile-fail
diff options
context:
space:
mode:
authorSimon Sapin <simon.sapin@exyr.org>2018-06-06 13:24:16 +0200
committerSimon Sapin <simon.sapin@exyr.org>2018-06-12 06:49:07 +0200
commite2aef92c19a95d6a0b8e75b473023f77de6150f0 (patch)
tree01de964d88faf2e98000e090d2b670ee063d16a5 /src/test/compile-fail
parent4367e41ea2a105c373de27c2f080fc2527cc6927 (diff)
Stabilize #[repr(transparent)]
Tracking issue FCP: https://github.com/rust-lang/rust/issues/43036#issuecomment-394094318
Reference PR: https://github.com/rust-lang-nursery/reference/pull/353
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;