// check-pass // Another minimized regression test for #112832. trait Trait { type Assoc; } trait Sub<'a>: Trait>::SubAssoc> { type SubAssoc; } // By using the where-clause we normalize `::Assoc` to // `>::SubAssoc` where `'a` is an unconstrained region // variable. fn foo(x: ::Assoc) where for<'a> T: Sub<'a>, {} fn main() {}