Sign in
rust
/
rust
/
e8a00a7621606f8c4a34b679cefaaa6aecf2442e
/
.
/
tests
/
ui
/
associated-type-bounds
/
binder-on-bound.rs
blob: 6cba45129e49b1951e1b6c195d5acbe17dd01269 [
file
] [
log
] [
blame
]
trait
Trait
{
type
Bound
<
'
a
>;
}
fn
foo
()
where
Trait
<
for
<
'a> Bound<'
a
>
=
&
'
a
()>
{
//~^ ERROR `for<...>` is not allowed on associated type bounds
}
fn
main
()
{}