4 ms·
It's actually desugared to a generic associated type: trait Foo { type bar_Returns<'s>: Future<Output = Result<u64, ()>> where Self: 's;
by pitaj 4y ago
It's actually desugared to a generic associated type:
trait Foo {
type bar_Returns<'s>: Future<Output = Result<u64, ()>>
where Self: 's;
fn bar<'s>(&'s self) -> Self::bar_Returns<'s>;
}