File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
compiler/rustc_next_trait_solver/src/solve Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -193,9 +193,9 @@ where
193193 // To avoid this we don't try to leak auto trait bounds if they can also be proven via
194194 // item bounds of the opaque. These bounds are always applicable as auto traits must not
195195 // have any generic parameters. They would also get preferred over the impl candidate
196- // when merging candidates anyways.
196+ // when merging candidates anyways. We
197197 //
198- // See tests/ui/
198+ // See tests/ui/impl-trait/auto-trait-leakage/avoid-query-cycle-via-item-bound.rs.
199199 if let ty:: Alias ( ty:: Opaque , opaque_ty) = goal. predicate . self_ty ( ) . kind ( ) {
200200 debug_assert ! ( ecx. opaque_type_is_rigid( opaque_ty. def_id) ) ;
201201 for item_bound in cx. item_self_bounds ( opaque_ty. def_id ) . skip_binder ( ) {
You can’t perform that action at this time.
0 commit comments