Skip to content

Commit 86e1555

Browse files
Mark const_loop feature gate as accepted
1 parent 565be31 commit 86e1555

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
@@ -263,6 +263,8 @@ declare_features! (
263263
(accepted, slice_patterns, "1.42.0", Some(62254), None),
264264
/// Allows the use of `if` and `match` in constants.
265265
(accepted, const_if_match, "1.45.0", Some(49146), None),
266+
/// Allows the use of `loop` and `while` in constants.
267+
(accepted, const_loop, "1.45.0", Some(52000), None),
266268

267269
// -------------------------------------------------------------------------
268270
// feature-group-end: accepted features

src/librustc_feature/active.rs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -527,9 +527,6 @@ declare_features! (
527527
/// Allows using `&mut` in constant functions.
528528
(active, const_mut_refs, "1.41.0", Some(57349), None),
529529

530-
/// Allows the use of `loop` and `while` in constants.
531-
(active, const_loop, "1.41.0", Some(52000), None),
532-
533530
/// Allows bindings in the subpattern of a binding pattern.
534531
/// For example, you can write `x @ Some(y)`.
535532
(active, bindings_after_at, "1.41.0", Some(65490), None),

0 commit comments

Comments
 (0)