about summary refs log tree commit diff
path: root/compiler/rustc_trait_selection/src/traits
diff options
context:
space:
mode:
authorJack Huey <31162821+jackh726@users.noreply.github.com>2022-05-04 10:22:19 -0400
committerJack Huey <31162821+jackh726@users.noreply.github.com>2022-08-30 23:06:24 -0400
commit3cf0e98dc9a67086f4e738edb9d61b2fee1a38b0 (patch)
treef559e3e09fd50967611da6d00b166a142707dfd4 /compiler/rustc_trait_selection/src/traits
parent02654a0844f5c8d29bac318c3c6c666da3d8543d (diff)
downloadrust-3cf0e98dc9a67086f4e738edb9d61b2fee1a38b0.tar.gz
rust-3cf0e98dc9a67086f4e738edb9d61b2fee1a38b0.zip
Stabilize GATs
Diffstat (limited to 'compiler/rustc_trait_selection/src/traits')
-rw-r--r--compiler/rustc_trait_selection/src/traits/project.rs2
1 files changed, 0 insertions, 2 deletions
diff --git a/compiler/rustc_trait_selection/src/traits/project.rs b/compiler/rustc_trait_selection/src/traits/project.rs
index 444ca6471e2..99efe51b107 100644
--- a/compiler/rustc_trait_selection/src/traits/project.rs
+++ b/compiler/rustc_trait_selection/src/traits/project.rs
@@ -2064,8 +2064,6 @@ fn confirm_impl_candidate<'cx, 'tcx>(
 
 // Get obligations corresponding to the predicates from the where-clause of the
 // associated type itself.
-// Note: `feature(generic_associated_types)` is required to write such
-// predicates, even for non-generic associated types.
 fn assoc_ty_own_obligations<'cx, 'tcx>(
     selcx: &mut SelectionContext<'cx, 'tcx>,
     obligation: &ProjectionTyObligation<'tcx>,