fork/rust

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

borsAuto merge of #68568 - pietroalbini:stable-next, r=pietroalbini5e1a799842b

1.41.0
1.0 KiB28 linesraw
1error[E0369]: binary operation `==` cannot be applied to type `NoCloneOrEq`
2  --> $DIR/deriving-no-inner-impl-error-message.rs:5:5
3   |
4LL |     x: NoCloneOrEq
5   |     ^^^^^^^^^^^^^^
6   |
7   = note: an implementation of `std::cmp::PartialEq` might be missing for `NoCloneOrEq`
8
9error[E0369]: binary operation `!=` cannot be applied to type `NoCloneOrEq`
10  --> $DIR/deriving-no-inner-impl-error-message.rs:5:5
11   |
12LL |     x: NoCloneOrEq
13   |     ^^^^^^^^^^^^^^
14   |
15   = note: an implementation of `std::cmp::PartialEq` might be missing for `NoCloneOrEq`
16
17error[E0277]: the trait bound `NoCloneOrEq: std::clone::Clone` is not satisfied
18  --> $DIR/deriving-no-inner-impl-error-message.rs:10:5
19   |
20LL |     x: NoCloneOrEq
21   |     ^^^^^^^^^^^^^^ the trait `std::clone::Clone` is not implemented for `NoCloneOrEq`
22   |
23   = note: required by `std::clone::Clone::clone`
24
25error: aborting due to 3 previous errors
26
27Some errors have detailed explanations: E0277, E0369.
28For more information about an error, try `rustc --explain E0277`.