Sign in
fuchsia
/
third_party
/
rust
/
9d09331e00b02f81c714b0c41ce3a38380dd36a2
/
.
/
src
/
test
/
ui
/
where-clauses
/
where-clauses-unsatisfied.rs
blob: 83620e5cf3a374486605e04bed5b5cffd8d031a5 [
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: std::cmp::Eq` is not satisfied
}