about summary refs log tree commit diff
path: root/src/test/compile-fail
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2018-06-16 10:59:40 +0000
committerbors <bors@rust-lang.org>2018-06-16 10:59:40 +0000
commit61ba0180933485cf8a2bc6b7230a4c70b82bb063 (patch)
tree5aff6e18e3b8252bbc742272ad633866b779c912 /src/test/compile-fail
parenta385095f9a6d4d068102b6c72fbdc86ac2667e51 (diff)
parente2aef92c19a95d6a0b8e75b473023f77de6150f0 (diff)
downloadrust-61ba0180933485cf8a2bc6b7230a4c70b82bb063.tar.gz
rust-61ba0180933485cf8a2bc6b7230a4c70b82bb063.zip
Auto merge of #51562 - SimonSapin:transparent, r=cramertj
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;