]>
Commit | Line | Data |
---|---|---|
8faf50e0 | 1 | error[E0277]: can't compare `&T` with `T` |
0731742a | 2 | --> $DIR/partialeq_help.rs:2:7 |
ff7c6d11 | 3 | | |
532ac7d7 | 4 | LL | a == b; |
8faf50e0 | 5 | | ^^ no implementation for `&T == T` |
ff7c6d11 | 6 | | |
1b1a35ee | 7 | = help: the trait `PartialEq<T>` is not implemented for `&T` |
ff7c6d11 XL |
8 | |
9 | error: aborting due to previous error | |
10 | ||
0531ce1d | 11 | For more information about this error, try `rustc --explain E0277`. |