]> git.proxmox.com Git - rustc.git/blobdiff - src/test/ui/suggestions/missing-bound-in-manual-copy-impl-2.stderr
New upstream version 1.66.0+dfsg1
[rustc.git] / src / test / ui / suggestions / missing-bound-in-manual-copy-impl-2.stderr
index e0f405eedfa6947009c26f4000e653b4eaf22225..9e6f0d9ebbd27fdfdeabd7693844e0dba0913f24 100644 (file)
@@ -1,11 +1,11 @@
 error[E0204]: the trait `Copy` may not be implemented for this type
-  --> $DIR/missing-bound-in-manual-copy-impl-2.rs:16:9
+  --> $DIR/missing-bound-in-manual-copy-impl-2.rs:16:18
    |
 LL | struct Wrapper<T>(T);
    |                   - this field does not implement `Copy`
 ...
 LL | impl<S> Copy for Wrapper<OnlyCopyIfDisplay<S>> {}
-   |         ^^^^
+   |                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    |
 note: the `Copy` impl for `OnlyCopyIfDisplay<S>` requires that `S: std::fmt::Display`
   --> $DIR/missing-bound-in-manual-copy-impl-2.rs:4:19