diff options
| author | Oli Scherer <github35764891676564198441@oli-obk.de> | 2021-03-12 10:53:51 +0000 |
|---|---|---|
| committer | Oli Scherer <github35764891676564198441@oli-obk.de> | 2021-03-15 17:32:43 +0000 |
| commit | 1f7df1956a8c78652aedee67172d7d52f395d785 (patch) | |
| tree | 93810ac52314f3185bb8c2a5776dce061893da5e /compiler/rustc_feature/src/active.rs | |
| parent | 19dce738f916570403c5fe8030d639778715c521 (diff) | |
| download | rust-1f7df1956a8c78652aedee67172d7d52f395d785.tar.gz rust-1f7df1956a8c78652aedee67172d7d52f395d785.zip | |
Replace `type_alias_impl_trait` by `min_type_alias_impl_trait` with no actual changes in behaviour
This makes `type_alias_impl_trait` not actually do anything anymore
Diffstat (limited to 'compiler/rustc_feature/src/active.rs')
| -rw-r--r-- | compiler/rustc_feature/src/active.rs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/compiler/rustc_feature/src/active.rs b/compiler/rustc_feature/src/active.rs index ee2fce34b0b..79ec9c26499 100644 --- a/compiler/rustc_feature/src/active.rs +++ b/compiler/rustc_feature/src/active.rs @@ -638,6 +638,9 @@ declare_features! ( /// Allows `pub` on `macro_rules` items. (active, pub_macro_rules, "1.52.0", Some(78855), None), + /// Allows the use of type alias impl trait in function return positions + (active, min_type_alias_impl_trait, "1.52.0", Some(63063), None), + /// Allows associated types in inherent impls. (active, inherent_associated_types, "1.52.0", Some(8995), None), @@ -670,6 +673,7 @@ pub const INCOMPLETE_FEATURES: &[Symbol] = &[ sym::capture_disjoint_fields, sym::const_generics_defaults, sym::inherent_associated_types, + sym::type_alias_impl_trait, ]; /// Some features are not allowed to be used together at the same time, if |
