blob: 1a6bdcd1a31f6b585eb34e41e3f2298b6c9d6d9f [file] [log] [blame]
//@ check-pass
fn foo<F>(_: F)
where
F: for<'a> Trait<Output: 'a>,
{
}
trait Trait {
type Output;
}
impl<T> Trait for T {
type Output = ();
}
fn main() {
foo(());
}