Skip to content

Commit 3811ddc

Browse files
committed
add structural_init feature
1 parent f838cbc commit 3811ddc

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
@@ -241,6 +241,8 @@ declare_features! (
241241
(unstable, sized_hierarchy, "1.89.0", None),
242242
/// Allows using the `#[stable]` and `#[unstable]` attributes.
243243
(internal, staged_api, "1.0.0", None),
244+
/// FIXME: needs description and tracking issue.
245+
(unstable, structural_init, "CURRENT_RUSTC_VERSION", None),
244246
/// Added for testing unstable lints; perma-unstable.
245247
(internal, test_unstable_lint, "1.60.0", None),
246248
/// 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
@@ -2099,6 +2099,7 @@ symbols! {
20992099
struct_field_attributes,
21002100
struct_inherit,
21012101
struct_variant,
2102+
structural_init,
21022103
structural_match,
21032104
structural_peq,
21042105
sub,

0 commit comments

Comments
 (0)