//@ check-pass fn foo(_: F) where F: for<'a> Trait, { } trait Trait { type Output; } impl Trait for T { type Output = (); } fn main() { foo(()); }