fork/rust

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

borsAuto merge of #71365 - Mark-Simulacrum:stable-next, r=Mark-Simulacrum4fb7144ed15

1.43.0
1.3 KiB31 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   = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info)
9
10error[E0369]: binary operation `!=` cannot be applied to type `NoCloneOrEq`
11  --> $DIR/deriving-no-inner-impl-error-message.rs:5:5
12   |
13LL |     x: NoCloneOrEq
14   |     ^^^^^^^^^^^^^^
15   |
16   = note: an implementation of `std::cmp::PartialEq` might be missing for `NoCloneOrEq`
17   = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info)
18
19error[E0277]: the trait bound `NoCloneOrEq: std::clone::Clone` is not satisfied
20  --> $DIR/deriving-no-inner-impl-error-message.rs:10:5
21   |
22LL |     x: NoCloneOrEq
23   |     ^^^^^^^^^^^^^^ the trait `std::clone::Clone` is not implemented for `NoCloneOrEq`
24   |
25   = note: required by `std::clone::Clone::clone`
26   = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info)
27
28error: aborting due to 3 previous errors
29
30Some errors have detailed explanations: E0277, E0369.
31For more information about an error, try `rustc --explain E0277`.