fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #69854 - pietroalbini:stable-next, r=Centrilb8cedc00407

1.42.0
330 B11 linesraw
1error[E0277]: can't compare `&T` with `T`
2  --> $DIR/partialeq_help.rs:2:7
3   |
4LL |     a == b;
5   |       ^^ no implementation for `&T == T`
6   |
7   = help: the trait `std::cmp::PartialEq<T>` is not implemented for `&T`
8
9error: aborting due to previous error
10
11For more information about this error, try `rustc --explain E0277`.