]> git.proxmox.com Git - rustc.git/blobdiff - src/test/ui/derives/derives-span-PartialOrd-enum.stderr
New upstream version 1.62.1+dfsg1
[rustc.git] / src / test / ui / derives / derives-span-PartialOrd-enum.stderr
index 38053495a0572aa5b3be11fe6d5271341fa6483f..dfbb8060ffa12d4568cf96b81fb91e3892caccf6 100644 (file)
@@ -9,6 +9,10 @@ LL |      Error
    |
    = help: the trait `PartialOrd` is not implemented for `Error`
    = note: this error originates in the derive macro `PartialOrd` (in Nightly builds, run with -Z macro-backtrace for more info)
+help: consider annotating `Error` with `#[derive(PartialOrd)]`
+   |
+LL | #[derive(PartialOrd)]
+   |
 
 error: aborting due to previous error