]> git.proxmox.com Git - rustc.git/blobdiff - src/test/ui/unsized/unsized-trait-impl-trait-arg.stderr
New upstream version 1.44.1+dfsg1
[rustc.git] / src / test / ui / unsized / unsized-trait-impl-trait-arg.stderr
index b37d9f9d5369efbc3dc90c1fa0c4bf5312d09d2e..4cf054d177f6624476794b56deec67457a3ba9ca 100644 (file)
@@ -1,6 +1,9 @@
 error[E0277]: the size for values of type `X` cannot be known at compilation time
   --> $DIR/unsized-trait-impl-trait-arg.rs:8:17
    |
+LL | trait T2<Z> {
+   |          - required by this bound in `T2`
+...
 LL | impl<X: ?Sized> T2<X> for S4<X> {
    |      -          ^^^^^ doesn't have a size known at compile-time
    |      |