]> git.proxmox.com Git - rustc.git/blobdiff - src/test/ui/derives/derives-span-PartialEq-tuple-struct.stderr
New upstream version 1.55.0+dfsg1
[rustc.git] / src / test / ui / derives / derives-span-PartialEq-tuple-struct.stderr
index 0a7f9e14859ae94e91c5e9f8ebc615ac4837ed2a..66bc16873538984644b7ec65f93128f87b8c3e8f 100644 (file)
@@ -1,6 +1,9 @@
 error[E0369]: binary operation `==` cannot be applied to type `Error`
   --> $DIR/derives-span-PartialEq-tuple-struct.rs:8:5
    |
+LL | #[derive(PartialEq)]
+   |          --------- in this derive macro expansion
+LL | struct Struct(
 LL |     Error
    |     ^^^^^
    |
@@ -10,6 +13,9 @@ LL |     Error
 error[E0369]: binary operation `!=` cannot be applied to type `Error`
   --> $DIR/derives-span-PartialEq-tuple-struct.rs:8:5
    |
+LL | #[derive(PartialEq)]
+   |          --------- in this derive macro expansion
+LL | struct Struct(
 LL |     Error
    |     ^^^^^
    |