diff options
| author | Guillaume Boisseau <Nadrieril@users.noreply.github.com> | 2024-06-30 14:26:28 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-06-30 14:26:28 +0200 |
| commit | e09815f0efdf6a91f96974284b9e5129029da45f (patch) | |
| tree | 340ebfece6a9935ca23e670f0e904968b7a83418 | |
| parent | 35f6b7b97a7dd5fa21834a35faaa7470a071424a (diff) | |
| download | rust-e09815f0efdf6a91f96974284b9e5129029da45f.tar.gz rust-e09815f0efdf6a91f96974284b9e5129029da45f.zip | |
New features gates mustn't specify a version by hand
| -rw-r--r-- | compiler/rustc_feature/src/unstable.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_feature/src/unstable.rs b/compiler/rustc_feature/src/unstable.rs index f100d3e4ca8..8c30006e292 100644 --- a/compiler/rustc_feature/src/unstable.rs +++ b/compiler/rustc_feature/src/unstable.rs @@ -574,7 +574,7 @@ declare_features! ( /// Makes `&` and `&mut` patterns eat only one layer of references in Rust 2024. (incomplete, ref_pat_eat_one_layer_2024, "1.79.0", Some(123076)), /// Makes `&` and `&mut` patterns eat only one layer of references in Rust 2024—structural variant - (incomplete, ref_pat_eat_one_layer_2024_structural, "1.79.0", Some(123076)), + (incomplete, ref_pat_eat_one_layer_2024_structural, "CURRENT_RUSTC_VERSION", Some(123076)), /// Allows using the `#[register_tool]` attribute. (unstable, register_tool, "1.41.0", Some(66079)), /// Allows the `#[repr(i128)]` attribute for enums. |
