Sign in
fuchsia
/
third_party
/
rust
/
7bade6ef730cff83f3591479a98916920f66decd
/
.
/
src
/
test
/
ui
/
generic-associated-types
/
auxiliary
/
foo_defn.rs
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
>
+
'
_
>>;
}