Skip to content

Commit e09815f

Browse files
authored
New features gates mustn't specify a version by hand
1 parent 35f6b7b commit e09815f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

compiler/rustc_feature/src/unstable.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -574,7 +574,7 @@ declare_features! (
574574
/// Makes `&` and `&mut` patterns eat only one layer of references in Rust 2024.
575575
(incomplete, ref_pat_eat_one_layer_2024, "1.79.0", Some(123076)),
576576
/// Makes `&` and `&mut` patterns eat only one layer of references in Rust 2024—structural variant
577-
(incomplete, ref_pat_eat_one_layer_2024_structural, "1.79.0", Some(123076)),
577+
(incomplete, ref_pat_eat_one_layer_2024_structural, "CURRENT_RUSTC_VERSION", Some(123076)),
578578
/// Allows using the `#[register_tool]` attribute.
579579
(unstable, register_tool, "1.41.0", Some(66079)),
580580
/// Allows the `#[repr(i128)]` attribute for enums.

0 commit comments

Comments
 (0)