]> git.lizzy.rs Git - rust.git/blob - src/test/ui/partialeq_help.stderr
Rollup merge of #57107 - mjbshaw:thread_local_test, r=nikomatsakis
[rust.git] / src / test / ui / partialeq_help.stderr
1 error[E0277]: can't compare `&T` with `T`
2   --> $DIR/partialeq_help.rs:2:7
3    |
4 LL |     a == b; //~ ERROR E0277
5    |       ^^ no implementation for `&T == T`
6    |
7    = help: the trait `std::cmp::PartialEq<T>` is not implemented for `&T`
8    = help: consider adding a `where &T: std::cmp::PartialEq<T>` bound
9
10 error: aborting due to previous error
11
12 For more information about this error, try `rustc --explain E0277`.