summary refs log tree commit diff
path: root/src/libsyntax
diff options
context:
space:
mode:
authorVadim Petrochenkov <vadim.petrochenkov@gmail.com>2017-05-18 00:22:52 +0300
committerVadim Petrochenkov <vadim.petrochenkov@gmail.com>2017-05-27 00:52:20 +0300
commit73c73e4a9509e2ecf593589442bff802dd53c9b4 (patch)
treec0e4a7074737eb58b9ff722634ff5cb616dd625f /src/libsyntax
parent557967766be6139bd747ab2c3dc56ff0c9b8852a (diff)
downloadrust-73c73e4a9509e2ecf593589442bff802dd53c9b4.tar.gz
rust-73c73e4a9509e2ecf593589442bff802dd53c9b4.zip
Stabilize unions with `Copy` fields and no destructor
Diffstat (limited to 'src/libsyntax')
-rw-r--r--src/libsyntax/feature_gate.rs6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/libsyntax/feature_gate.rs b/src/libsyntax/feature_gate.rs
index ca579409be4..c119fad1b73 100644
--- a/src/libsyntax/feature_gate.rs
+++ b/src/libsyntax/feature_gate.rs
@@ -1207,12 +1207,6 @@ impl<'a> Visitor<'a> for PostExpansionVisitor<'a> {
                 }
             }
 
-            ast::ItemKind::Union(..) => {
-                gate_feature_post!(&self, untagged_unions,
-                                   i.span,
-                                   "unions are unstable and possibly buggy");
-            }
-
             ast::ItemKind::DefaultImpl(..) => {
                 gate_feature_post!(&self, optin_builtin_traits,
                                    i.span,