about summary refs log tree commit diff
path: root/compiler/rustc_feature/src/active.rs
diff options
context:
space:
mode:
authorOli Scherer <git-spam-no-reply9815368754983@oli-obk.de>2023-04-12 13:32:15 +0000
committerOli Scherer <git-spam-no-reply9815368754983@oli-obk.de>2023-04-12 16:17:31 +0000
commitf263f88beacce82ef7098dadd25e44eb349aa3c2 (patch)
treef08b20c030db2911051c8f18aa491fbe8197460e /compiler/rustc_feature/src/active.rs
parent9be9b5e09ad834e2ba9f2571ca17059e18f89b71 (diff)
downloadrust-f263f88beacce82ef7098dadd25e44eb349aa3c2.tar.gz
rust-f263f88beacce82ef7098dadd25e44eb349aa3c2.zip
Split out a separate feature gate for impl trait in associated types
Diffstat (limited to 'compiler/rustc_feature/src/active.rs')
-rw-r--r--compiler/rustc_feature/src/active.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/compiler/rustc_feature/src/active.rs b/compiler/rustc_feature/src/active.rs
index 426c6727adc..eea185c12dd 100644
--- a/compiler/rustc_feature/src/active.rs
+++ b/compiler/rustc_feature/src/active.rs
@@ -416,6 +416,8 @@ declare_features! (
     (active, half_open_range_patterns_in_slices, "1.66.0", Some(67264), None),
     /// Allows `if let` guard in match arms.
     (active, if_let_guard, "1.47.0", Some(51114), None),
+    /// Allows `impl Trait` to be used inside associated types (RFC 2515).
+    (active, impl_trait_in_assoc_type, "CURRENT_RUSTC_VERSION", Some(63063), None),
     /// Allows `impl Trait` as output type in `Fn` traits in return position of functions.
     (active, impl_trait_in_fn_trait_return, "1.64.0", Some(99697), None),
     /// Allows referencing `Self` and projections in impl-trait.