]> git.lizzy.rs Git - rust.git/blobdiff - src/test/ui/repeat-to-run-dtor-twice.stderr
Rollup merge of #82259 - osa1:issue82156, r=petrochenkov
[rust.git] / src / test / ui / repeat-to-run-dtor-twice.stderr
index 5434f6cef544f7169299d576b27233dc725a6ae8..f07bbe3b9f3f67204825901e7bf6bb2244e29846 100644 (file)
@@ -1,8 +1,8 @@
-error[E0277]: the trait bound `Foo: std::marker::Copy` is not satisfied
+error[E0277]: the trait bound `Foo: Copy` is not satisfied
   --> $DIR/repeat-to-run-dtor-twice.rs:17:13
    |
 LL |     let _ = [ a; 5 ];
-   |             ^^^^^^^^ the trait `std::marker::Copy` is not implemented for `Foo`
+   |             ^^^^^^^^ the trait `Copy` is not implemented for `Foo`
    |
    = note: the `Copy` trait is required because the repeated element will be copied