]> git.proxmox.com Git - rustc.git/blobdiff - src/test/ui/where-clauses/where-clauses-method-unsatisfied.stderr
New upstream version 1.62.1+dfsg1
[rustc.git] / src / test / ui / where-clauses / where-clauses-method-unsatisfied.stderr
index 3a4cbb62d5597a5e0f90d283fab6dbc738ea7dfc..c13552bc26eee730aba31adce9137ebcfc8bc9b6 100644 (file)
@@ -11,6 +11,10 @@ note: required by a bound in `Foo::<T>::equals`
    |
 LL |     fn equals(&self, u: &Foo<T>) -> bool where T : Eq {
    |                                                    ^^ required by this bound in `Foo::<T>::equals`
+help: consider annotating `Bar` with `#[derive(Eq)]`
+   |
+LL | #[derive(Eq)]
+   |
 
 error: aborting due to previous error