Sign in
rust
/
rust
/
e8a00a7621606f8c4a34b679cefaaa6aecf2442e
/
.
/
tests
/
ui
/
associated-type-bounds
/
issue-70292.rs
blob: 1a6bdcd1a31f6b585eb34e41e3f2298b6c9d6d9f [
file
] [
log
] [
blame
]
//@ check-pass
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
(());
}