diff options
| -rw-r--r-- | src/librustc_feature/accepted.rs | 2 | ||||
| -rw-r--r-- | src/librustc_feature/active.rs | 3 |
2 files changed, 2 insertions, 3 deletions
diff --git a/src/librustc_feature/accepted.rs b/src/librustc_feature/accepted.rs index 18dc3e30db1..28a08330d49 100644 --- a/src/librustc_feature/accepted.rs +++ b/src/librustc_feature/accepted.rs @@ -261,6 +261,8 @@ declare_features! ( (accepted, transparent_enums, "1.42.0", Some(60405), None), /// Allows using subslice patterns, `[a, .., b]` and `[a, xs @ .., b]`. (accepted, slice_patterns, "1.42.0", Some(62254), None), + /// Allows the use of `if` and `match` in constants. + (accepted, const_if_match, "1.45.0", Some(49146), None), // ------------------------------------------------------------------------- // feature-group-end: accepted features diff --git a/src/librustc_feature/active.rs b/src/librustc_feature/active.rs index e2d497a3ada..a80ac3105ce 100644 --- a/src/librustc_feature/active.rs +++ b/src/librustc_feature/active.rs @@ -518,9 +518,6 @@ declare_features! ( /// Allows using the `#[register_tool]` attribute. (active, register_tool, "1.41.0", Some(66079), None), - /// Allows the use of `if` and `match` in constants. - (active, const_if_match, "1.41.0", Some(49146), None), - /// Allows the use of `#[cfg(sanitize = "option")]`; set when -Zsanitizer is used. (active, cfg_sanitize, "1.41.0", Some(39699), None), |
