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