]> git.proxmox.com Git - rustc.git/blobdiff - src/test/ui/derives/derives-span-Eq-struct.stderr
New upstream version 1.54.0+dfsg1
[rustc.git] / src / test / ui / derives / derives-span-Eq-struct.stderr
index 531e8887cd2bc42a850294348bc1bd0663c9fd07..ec26c5617210781834e76e3bfd35340f0757cf10 100644 (file)
@@ -1,10 +1,15 @@
-error[E0277]: the trait bound `Error: std::cmp::Eq` is not satisfied
+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<T: Eq + ?Sized> {
+   |                               -- required by this bound in `AssertParamIsEq`
+   |
+   = note: this error originates in the derive macro `Eq` (in Nightly builds, run with -Z macro-backtrace for more info)
 
 error: aborting due to previous error