about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorManish Goregaokar <manishsmail@gmail.com>2020-07-22 16:34:37 -0700
committerGitHub <noreply@github.com>2020-07-22 16:34:37 -0700
commitda449a9c1b018c5f57ce324c6fe02366bf3a868b (patch)
tree52f0437920ac2417de3039b93c46b8968827e669 /src
parentfe9babbaede1643ddc10cd34140a58d0107db1ec (diff)
parent6100b74fbcf8da2122bd5ee4a9361965d8bf3429 (diff)
downloadrust-da449a9c1b018c5f57ce324c6fe02366bf3a868b.tar.gz
rust-da449a9c1b018c5f57ce324c6fe02366bf3a868b.zip
Rollup merge of #73868 - ecstatic-morse:fix-stable-version, r=jonas-schievink
Advertise correct stable version for const control flow

#72437 was opened before the 1.45 release but merged afterwards. These will be stable in 1.46.
Diffstat (limited to 'src')
-rw-r--r--src/librustc_feature/accepted.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/librustc_feature/accepted.rs b/src/librustc_feature/accepted.rs
index d93c17b05b4..d16f023c00a 100644
--- a/src/librustc_feature/accepted.rs
+++ b/src/librustc_feature/accepted.rs
@@ -262,9 +262,9 @@ declare_features! (
     /// 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),
+    (accepted, const_if_match, "1.46.0", Some(49146), None),
     /// Allows the use of `loop` and `while` in constants.
-    (accepted, const_loop, "1.45.0", Some(52000), None),
+    (accepted, const_loop, "1.46.0", Some(52000), None),
     /// Allows `#[track_caller]` to be used which provides
     /// accurate caller location reporting during panic (RFC 2091).
     (accepted, track_caller, "1.46.0", Some(47809), None),