Sign in
fuchsia
/
third_party
/
rust
/
a10a02bf5fd00e4b34f1856af17d058dd5ec06f0
/
.
/
src
/
test
/
ui
/
where-clauses
/
where-clauses-unsatisfied.rs
blob: 8b067d30a2a851ae1e0a31a56b41f580b2e4233f [
file
] [
log
] [
blame
]
fn
equal
<
T
>(
a
:
&
T
,
b
:
&
T
)
->
bool where T
:
Eq
{
a
==
b
}
struct
Struct
;
fn
main
()
{
drop
(
equal
(&
Struct
,
&
Struct
))
//~^ ERROR the trait bound `Struct: Eq` is not satisfied
}