]> git.lizzy.rs Git - rust.git/commitdiff
add comment
authorlcnr <rust@lcnr.de>
Wed, 18 Jan 2023 07:08:58 +0000 (08:08 +0100)
committerlcnr <rust@lcnr.de>
Wed, 18 Jan 2023 07:11:15 +0000 (08:11 +0100)
compiler/rustc_trait_selection/src/solve/project_goals.rs

index 435f2877fb3292bc9ac0cbd881204a9f61039162..0658836fb9cd36a8d58aac9c6da7573a801cfeed 100644 (file)
@@ -82,6 +82,7 @@ fn term_is_fully_unconstrained(&self, goal: Goal<'tcx, ProjectionPredicate<'tcx>
             }
         };
 
+        // Guard against `<T as Trait<?0>>::Assoc = ?0>`.
         struct ContainsTerm<'tcx> {
             term: ty::Term<'tcx>,
         }