]>
git.proxmox.com Git - rustc.git/blob - src/test/ui/where-clauses/where-clauses-unsatisfied.rs
1 fn equal
<T
>(a
: &T
, b
: &T
) -> bool
where T
: Eq { a == b }
6 drop(equal(&Struct
, &Struct
))
7 //~^ ERROR the trait bound `Struct: Eq` is not satisfied