]> git.proxmox.com Git - rustc.git/blobdiff - src/test/ui/wf/wf-in-fn-where-clause.stderr
New upstream version 1.48.0~beta.8+dfsg1
[rustc.git] / src / test / ui / wf / wf-in-fn-where-clause.stderr
index 41cfb1863104ba0988bb85ad82c4f542d48097da..64e9694c0e16ba1ec750688af0edd97bccf7e96b 100644 (file)
@@ -1,16 +1,16 @@
-error[E0277]: the trait bound `U: std::marker::Copy` is not satisfied
+error[E0277]: the trait bound `U: Copy` is not satisfied
   --> $DIR/wf-in-fn-where-clause.rs:10:14
    |
 LL | trait MustBeCopy<T:Copy> {
    |                    ---- required by this bound in `MustBeCopy`
 ...
 LL |     where T: MustBeCopy<U>
-   |              ^^^^^^^^^^^^^ the trait `std::marker::Copy` is not implemented for `U`
+   |              ^^^^^^^^^^^^^ the trait `Copy` is not implemented for `U`
    |
 help: consider further restricting type parameter `U`
    |
-LL |     where T: MustBeCopy<U>, U: std::marker::Copy
-   |                           ^^^^^^^^^^^^^^^^^^^^^^
+LL |     where T: MustBeCopy<U>, U: Copy
+   |                           ^^^^^^^^^
 
 error: aborting due to previous error