1 2 3 4 5 6 7 8 9 10 11
// check-pass use std::ops::Deref; trait Foo { fn foo() -> impl Deref<Target = impl Deref<Target = impl Sized>> { &&() } } fn main() {}