Skip to content

Commit 5013636

Browse files
authored
Rollup merge of rust-lang#73868 - ecstatic-morse:fix-stable-version, r=jonas-schievink
Advertise correct stable version for const control flow rust-lang#72437 was opened before the 1.45 release but merged afterwards. These will be stable in 1.46.
2 parents 9e92106 + 6100b74 commit 5013636

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/librustc_feature/accepted.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -262,9 +262,9 @@ declare_features! (
262262
/// Allows using subslice patterns, `[a, .., b]` and `[a, xs @ .., b]`.
263263
(accepted, slice_patterns, "1.42.0", Some(62254), None),
264264
/// Allows the use of `if` and `match` in constants.
265-
(accepted, const_if_match, "1.45.0", Some(49146), None),
265+
(accepted, const_if_match, "1.46.0", Some(49146), None),
266266
/// Allows the use of `loop` and `while` in constants.
267-
(accepted, const_loop, "1.45.0", Some(52000), None),
267+
(accepted, const_loop, "1.46.0", Some(52000), None),
268268
/// Allows `#[track_caller]` to be used which provides
269269
/// accurate caller location reporting during panic (RFC 2091).
270270
(accepted, track_caller, "1.46.0", Some(47809), None),

0 commit comments

Comments
 (0)