X-Git-Url: https://git.proxmox.com/?a=blobdiff_plain;f=src%2Ftest%2Fui%2Fderives%2Fderives-span-Eq-struct.stderr;h=1b751365a3aa249b4d105790e5dfdf368335be52;hb=1b1a35ee97c87290b75be4c46f58dfb00d0036d5;hp=10631cb12bff3a3eddcd7be65720da2f62c65f12;hpb=dfeec24772faa596859f8270a4eaeeca54752913;p=rustc.git diff --git a/src/test/ui/derives/derives-span-Eq-struct.stderr b/src/test/ui/derives/derives-span-Eq-struct.stderr index 10631cb12b..1b751365a3 100644 --- a/src/test/ui/derives/derives-span-Eq-struct.stderr +++ b/src/test/ui/derives/derives-span-Eq-struct.stderr @@ -1,10 +1,15 @@ -error[E0277]: the trait bound `Error: std::cmp::Eq` is not satisfied - --> $DIR/derives-span-Eq-struct.rs:12:5 +error[E0277]: the trait bound `Error: Eq` is not satisfied + --> $DIR/derives-span-Eq-struct.rs:8:5 | LL | x: Error - | ^^^^^^^^ the trait `std::cmp::Eq` is not implemented for `Error` + | ^^^^^^^^ the trait `Eq` is not implemented for `Error` + | + ::: $SRC_DIR/core/src/cmp.rs:LL:COL | - = note: required by `std::cmp::AssertParamIsEq` +LL | pub struct AssertParamIsEq { + | -- required by this bound in `AssertParamIsEq` + | + = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info) error: aborting due to previous error