//@ known-bug: #120033 #![feature(non_lifetime_binders)] pub trait Foo { type Bar; } pub struct Bar {} pub fn f() where T1: for Foo>, T2: for Foo = T1::Bar>, {}