Skip to content

Commit d2809fd

Browse files
dtrebbienManishearth
authored andcommitted
reference: Remove struct_variant from Compiler Features
The struct_variant feature was accepted and is no longer feature gated. See rust-lang#19122, rust-lang#19124 §6.1.6 Enumerations shows an example of a struct-like enum variant.
1 parent b1f34cd commit d2809fd

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

reference.md

-7
Original file line numberDiff line numberDiff line change
@@ -2327,13 +2327,6 @@ The currently implemented features of the reference compiler are:
23272327
into a Rust program. This capability, especially the signature for the
23282328
annotated function, is subject to change.
23292329

2330-
* `struct_variant` - Structural enum variants (those with named fields). It is
2331-
currently unknown whether this style of enum variant is as
2332-
fully supported as the tuple-forms, and it's not certain
2333-
that this style of variant should remain in the language.
2334-
For now this style of variant is hidden behind a feature
2335-
flag.
2336-
23372330
* `thread_local` - The usage of the `#[thread_local]` attribute is experimental
23382331
and should be seen as unstable. This attribute is used to
23392332
declare a `static` as being unique per-thread leveraging

0 commit comments

Comments
 (0)