blob: 0e8e14852d9db9a41a23c2b9828b9dd85e8b450e [file] [log] [blame]
#![feature(generic_associated_types)]
use std::{future::Future, pin::Pin};
pub trait Foo {
type Bar: AsRef<()>;
fn foo(&self) -> Pin<Box<dyn Future<Output = Self::Bar> + '_>>;
}