Sign in
fuchsia
/
third_party
/
rust
/
7bade6ef730cff83f3591479a98916920f66decd
/
.
/
src
/
test
/
ui
/
associated-type-bounds
/
issue-70292.rs
blob: 945d7688ce65f215bdfe9659f1bdbae31ad88505 [
file
] [
log
] [
blame
]
// check-pass
#![
feature
(
associated_type_bounds
)]
fn
foo
<
F
>(
_
:
F
)
where
F
:
for
<
'a> Trait<Output: '
a
>,
{
}
trait
Trait
{
type
Output
;
}
impl
<
T
>
Trait
for
T
{
type
Output
=
();
}
fn
main
()
{
foo
(());
}