// check-pass // compile-flags: -Ztrait-solver=next // Issue 92505 trait A { type I; fn f() where Self::I: A, { } } impl A for () { type I = (); fn f() where Self::I: A, { <() as A>::f(); } } fn main() {}