diff options
| author | Eric Holk <ericholk@microsoft.com> | 2022-02-11 18:04:44 -0800 |
|---|---|---|
| committer | Eric Holk <ericholk@microsoft.com> | 2022-03-07 08:47:18 -0800 |
| commit | 8700b45b67b2cc138718a17fdb606db0944d03aa (patch) | |
| tree | 3ac4d60e8857b49eb6f8659aabd5a9326707c356 /compiler/rustc_feature | |
| parent | 801be21d11806d37bacd7c7adaeb93a33871f31e (diff) | |
| download | rust-8700b45b67b2cc138718a17fdb606db0944d03aa.tar.gz rust-8700b45b67b2cc138718a17fdb606db0944d03aa.zip | |
Stabilize const_impl_trait as well
Diffstat (limited to 'compiler/rustc_feature')
| -rw-r--r-- | compiler/rustc_feature/src/accepted.rs | 2 | ||||
| -rw-r--r-- | compiler/rustc_feature/src/active.rs | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/compiler/rustc_feature/src/accepted.rs b/compiler/rustc_feature/src/accepted.rs index b649a548750..3fa11a6cd63 100644 --- a/compiler/rustc_feature/src/accepted.rs +++ b/compiler/rustc_feature/src/accepted.rs @@ -100,6 +100,8 @@ declare_features! ( (accepted, const_generics_defaults, "1.59.0", Some(44580), None), /// Allows the use of `if` and `match` in constants. (accepted, const_if_match, "1.46.0", Some(49146), None), + /// Allows argument and return position `impl Trait` in a `const fn`. + (accepted, const_impl_trait, "1.60.0", Some(77463), None), /// Allows indexing into constant arrays. (accepted, const_indexing, "1.26.0", Some(29947), None), /// Allows let bindings, assignments and destructuring in `const` functions and constants. diff --git a/compiler/rustc_feature/src/active.rs b/compiler/rustc_feature/src/active.rs index e48039148d9..a69d28b184a 100644 --- a/compiler/rustc_feature/src/active.rs +++ b/compiler/rustc_feature/src/active.rs @@ -340,8 +340,6 @@ declare_features! ( (active, const_fn_floating_point_arithmetic, "1.48.0", Some(57241), None), /// Allows `for _ in _` loops in const contexts. (active, const_for, "1.56.0", Some(87575), None), - /// Allows argument and return position `impl Trait` in a `const fn`. - (active, const_impl_trait, "1.48.0", Some(77463), None), /// Allows using `&mut` in constant functions. (active, const_mut_refs, "1.41.0", Some(57349), None), /// Be more precise when looking for live drops in a const context. |
