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