summary refs log tree commit diff
path: root/src/test/ui/partialeq_help.stderr
blob: 6decbef1af4a266e4e6ae6bfda138aeac61e269d (plain)
1
2
3
4
5
6
7
8
9
10
11
error[E0277]: can't compare `&T` with `T`
  --> $DIR/partialeq_help.rs:2:7
   |
LL |     a == b;
   |       ^^ no implementation for `&T == T`
   |
   = help: the trait `PartialEq<T>` is not implemented for `&T`

error: aborting due to previous error

For more information about this error, try `rustc --explain E0277`.