]> git.proxmox.com Git - rustc.git/blob - src/test/ui/generic-associated-types/auxiliary/foo_defn.rs
New upstream version 1.65.0+dfsg1
[rustc.git] / src / test / ui / generic-associated-types / auxiliary / foo_defn.rs
1 use std::{future::Future, pin::Pin};
2
3 pub trait Foo {
4 type Bar: AsRef<()>;
5 fn foo(&self) -> Pin<Box<dyn Future<Output = Self::Bar> + '_>>;
6 }