Sign in
fuchsia
/
third_party
/
rust
/
5a2fceefd312ec027bdeaa89ebefbe4c33d94de1
/
.
/
tests
/
ui
/
suggestions
/
correct-binder-for-arbitrary-bound-sugg.rs
blob: e56c8622ece0364d07ef3178f84bb6300960df87 [
file
]
trait
Foo
where
for
<
'a> &'
a
Self
:
Bar
,
{
}
impl
Foo
for
()
{}
trait
Bar
{}
impl
Bar
for
&()
{}
fn
foo
<
T
:
Foo
>()
{}
//~^ ERROR the trait bound `for<'a> &'a T: Bar` is not satisfied
fn
main
()
{}