Skip to content
This repository was archived by the owner on May 28, 2025. It is now read-only.

Commit 66f0cef

Browse files
Mark feature gate as accepted
1 parent 25687ca commit 66f0cef

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

src/librustc_feature/accepted.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -261,6 +261,8 @@ declare_features! (
261261
(accepted, transparent_enums, "1.42.0", Some(60405), None),
262262
/// Allows using subslice patterns, `[a, .., b]` and `[a, xs @ .., b]`.
263263
(accepted, slice_patterns, "1.42.0", Some(62254), None),
264+
/// Allows the use of `if` and `match` in constants.
265+
(accepted, const_if_match, "1.45.0", Some(49146), None),
264266

265267
// -------------------------------------------------------------------------
266268
// feature-group-end: accepted features

src/librustc_feature/active.rs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -518,9 +518,6 @@ declare_features! (
518518
/// Allows using the `#[register_tool]` attribute.
519519
(active, register_tool, "1.41.0", Some(66079), None),
520520

521-
/// Allows the use of `if` and `match` in constants.
522-
(active, const_if_match, "1.41.0", Some(49146), None),
523-
524521
/// Allows the use of `#[cfg(sanitize = "option")]`; set when -Zsanitizer is used.
525522
(active, cfg_sanitize, "1.41.0", Some(39699), None),
526523

0 commit comments

Comments
 (0)