]> git.lizzy.rs Git - rust.git/blobdiff - src/test/ui/unsized-locals/unsized-exprs.stderr
Rollup merge of #89876 - AlexApps99:const_ops, r=oli-obk
[rust.git] / src / test / ui / unsized-locals / unsized-exprs.stderr
index a7f57e3fd15667d81396d6c40e1293565bde5a18..6960255d98797492815899c0bebc915e1feedd59 100644 (file)
@@ -12,7 +12,9 @@ error[E0277]: the size for values of type `[u8]` cannot be known at compilation
   --> $DIR/unsized-exprs.rs:24:22
    |
 LL |     udrop::<A<[u8]>>(A { 0: *foo() });
-   |                      ^^^^^^^^^^^^^^^ doesn't have a size known at compile-time
+   |     ---------------- ^^^^^^^^^^^^^^^ doesn't have a size known at compile-time
+   |     |
+   |     required by a bound introduced by this call
    |
    = help: within `A<[u8]>`, the trait `Sized` is not implemented for `[u8]`
 note: required because it appears within the type `A<[u8]>`