about summary refs log tree commit diff
diff options
context:
space:
mode:
authorDaniel Trebbien <dtrebbien@gmail.com>2015-11-08 11:27:40 -0500
committerDaniel Trebbien <dtrebbien@gmail.com>2015-11-08 11:27:40 -0500
commit9f7afd060bfd573e079313d3c2ae4bf9b4ada0de (patch)
tree625d7c1dbabacd9430723322969260314a78b2dc
parentd34daf38e8e207ffc0b09456940752491ae20581 (diff)
downloadrust-9f7afd060bfd573e079313d3c2ae4bf9b4ada0de.tar.gz
rust-9f7afd060bfd573e079313d3c2ae4bf9b4ada0de.zip
reference: Remove struct_variant from Compiler Features
The struct_variant feature was accepted and is no longer feature gated.
See #19122, #19124

ยง6.1.6 Enumerations shows an example of a struct-like enum variant.
-rw-r--r--src/doc/reference.md7
1 files changed, 0 insertions, 7 deletions
diff --git a/src/doc/reference.md b/src/doc/reference.md
index e0c2f4e5c30..2ada86115b6 100644
--- a/src/doc/reference.md
+++ b/src/doc/reference.md
@@ -2327,13 +2327,6 @@ The currently implemented features of the reference compiler are:
             into a Rust program. This capability, especially the signature for the
             annotated function, is subject to change.
 
-* `struct_variant` - Structural enum variants (those with named fields). It is
-                     currently unknown whether this style of enum variant is as
-                     fully supported as the tuple-forms, and it's not certain
-                     that this style of variant should remain in the language.
-                     For now this style of variant is hidden behind a feature
-                     flag.
-
 * `thread_local` - The usage of the `#[thread_local]` attribute is experimental
                    and should be seen as unstable. This attribute is used to
                    declare a `static` as being unique per-thread leveraging