]> git.proxmox.com Git - rustc.git/blame - src/test/ui/union/union-derive-eq.stderr
New upstream version 1.44.1+dfsg1
[rustc.git] / src / test / ui / union / union-derive-eq.stderr
CommitLineData
ff7c6d11 1error[E0277]: the trait bound `PartialEqNotEq: std::cmp::Eq` is not satisfied
0731742a 2 --> $DIR/union-derive-eq.rs:15:5
ff7c6d11 3 |
532ac7d7 4LL | a: PartialEqNotEq,
ff7c6d11 5 | ^^^^^^^^^^^^^^^^^ the trait `std::cmp::Eq` is not implemented for `PartialEqNotEq`
ba9703b0
XL
6 |
7 ::: $SRC_DIR/libcore/cmp.rs:LL:COL
8 |
9LL | pub struct AssertParamIsEq<T: Eq + ?Sized> {
10 | -- required by this bound in `std::cmp::AssertParamIsEq`
ff7c6d11 11 |
74b04a01 12 = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info)
ff7c6d11
XL
13
14error: aborting due to previous error
15
0531ce1d 16For more information about this error, try `rustc --explain E0277`.