]> git.lizzy.rs Git - rust.git/blobdiff - src/test/ui/derives/derives-span-Eq-struct.stderr
Rollup merge of #87759 - m-ou-se:linux-process-sealed, r=jyn514
[rust.git] / src / test / ui / derives / derives-span-Eq-struct.stderr
index ec26c5617210781834e76e3bfd35340f0757cf10..5fd21e2cd79008ce87d43bb97b683354eb258ba9 100644 (file)
@@ -1,9 +1,12 @@
 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`
-   | 
+   |
   ::: $SRC_DIR/core/src/cmp.rs:LL:COL
    |
 LL | pub struct AssertParamIsEq<T: Eq + ?Sized> {