blob: 0d19e1ff416130bd8467563eb8d5a9b3ae869aaa [file] [log] [blame]
// check-pass
#![feature(return_position_impl_trait_in_trait)]
trait Foo {}
impl Foo for () {}
trait ThreeCellFragment {
fn ext_cells<'a>(&'a self) -> impl Foo + 'a {
self.ext_adjacent_cells()
}
fn ext_adjacent_cells<'a>(&'a self) -> impl Foo + 'a;
}
fn main() {}