Skip to content

Commit 7864983

Browse files
committed
add structural_init feature
1 parent c6768de commit 7864983

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

compiler/rustc_feature/src/unstable.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -239,6 +239,8 @@ declare_features! (
239239
(internal, rustc_attrs, "1.0.0", None),
240240
/// Allows using the `#[stable]` and `#[unstable]` attributes.
241241
(internal, staged_api, "1.0.0", None),
242+
/// FIXME: needs description and tracking issue.
243+
(unstable, structural_init, "CURRENT_RUSTC_VERSION", None),
242244
/// Added for testing unstable lints; perma-unstable.
243245
(internal, test_unstable_lint, "1.60.0", None),
244246
/// Helps with formatting for `group_imports = "StdExternalCrate"`.

compiler/rustc_span/src/symbol.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2083,6 +2083,7 @@ symbols! {
20832083
struct_field_attributes,
20842084
struct_inherit,
20852085
struct_variant,
2086+
structural_init,
20862087
structural_match,
20872088
structural_peq,
20882089
sub,

0 commit comments

Comments
 (0)