]> git.proxmox.com Git - rustc.git/blobdiff - src/test/ui/derives/derives-span-Eq-struct.stderr
New upstream version 1.55.0+dfsg1
[rustc.git] / src / test / ui / derives / derives-span-Eq-struct.stderr
index ec26c5617210781834e76e3bfd35340f0757cf10..7a7640b40f627980bcaedd7aa7b3b0dca9fa4b15 100644 (file)
@@ -1,6 +1,9 @@
 error[E0277]: the trait bound `Error: Eq` is not satisfied
   --> $DIR/derives-span-Eq-struct.rs:8:5
    |
+LL | #[derive(Eq,PartialEq)]
+   |          -- in this derive macro expansion
+LL | struct Struct {
 LL |     x: Error
    |     ^^^^^^^^ the trait `Eq` is not implemented for `Error`
    |