]> git.proxmox.com Git - rustc.git/blobdiff - src/test/ui/coherence/deep-bad-copy-reason.stderr
New upstream version 1.66.0+dfsg1
[rustc.git] / src / test / ui / coherence / deep-bad-copy-reason.stderr
index 295538cee60962b94da2a44414709af934bda0c1..168ee57263d2a4205799c6ab22c453a07f2a2098 100644 (file)
@@ -1,11 +1,11 @@
 error[E0204]: the trait `Copy` may not be implemented for this type
-  --> $DIR/deep-bad-copy-reason.rs:33:15
+  --> $DIR/deep-bad-copy-reason.rs:33:24
    |
 LL | pub struct List<'tcx, T>(Interned<'tcx, ListS<T>>);
    |                          ------------------------ this field does not implement `Copy`
 ...
 LL | impl<'tcx, T> Copy for List<'tcx, T> {}
-   |               ^^^^
+   |                        ^^^^^^^^^^^^^
    |
 note: the `Copy` impl for `Interned<'tcx, ListS<T>>` requires that `OpaqueListContents: Sized`
   --> $DIR/deep-bad-copy-reason.rs:23:26