]> git.proxmox.com Git - rustc.git/blobdiff - src/test/ui/derives/derives-span-Eq-struct.stderr
New upstream version 1.48.0~beta.8+dfsg1
[rustc.git] / src / test / ui / derives / derives-span-Eq-struct.stderr
index 10631cb12bff3a3eddcd7be65720da2f62c65f12..1b751365a3aa249b4d105790e5dfdf368335be52 100644 (file)
@@ -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<T: Eq + ?Sized> {
+   |                               -- 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