// check-pass // compile-flags: -Znext-solver // 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() {}