]> git.lizzy.rs Git - rust.git/blob - tests/ui/generic-associated-types/auxiliary/foo_defn.rs
Auto merge of #106458 - albertlarsan68:move-tests, r=jyn514
[rust.git] / tests / 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 }