]> git.proxmox.com Git - rustc.git/blobdiff - src/test/ui/derives/derives-span-Clone-struct.stderr
New upstream version 1.54.0+dfsg1
[rustc.git] / src / test / ui / derives / derives-span-Clone-struct.stderr
index 75a59fbf035d4b101190cadb61f118665ef2e80c..522ec9719ed41ca9277205fa21c34345aa5f58ce 100644 (file)
@@ -1,11 +1,11 @@
-error[E0277]: the trait bound `Error: std::clone::Clone` is not satisfied
-  --> $DIR/derives-span-Clone-struct.rs:12:5
+error[E0277]: the trait bound `Error: Clone` is not satisfied
+  --> $DIR/derives-span-Clone-struct.rs:8:5
    |
 LL |     x: Error
-   |     ^^^^^^^^ the trait `std::clone::Clone` is not implemented for `Error`
+   |     ^^^^^^^^ the trait `Clone` is not implemented for `Error`
    |
-   = note: required by `std::clone::Clone::clone`
-   = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info)
+   = note: required by `clone`
+   = note: this error originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info)
 
 error: aborting due to previous error