Skip to content

Commit

Permalink
Auto merge of #29695 - dtrebbien:remove-mention-of-struct_variant-fea…
Browse files Browse the repository at this point in the history
…ture, r=sanxiyn

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.
  • Loading branch information
bors committed Nov 9, 2015
2 parents 36f211b + 9f7afd0 commit 00aa3cb
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions src/doc/reference.md
Expand Up @@ -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
Expand Down

0 comments on commit 00aa3cb

Please sign in to comment.