Skip to content

Commit 00aa3cb

Browse files
committed
Auto merge of #29695 - dtrebbien:remove-mention-of-struct_variant-feature, 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.
2 parents 36f211b + 9f7afd0 commit 00aa3cb

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

src/doc/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)