]> git.lizzy.rs Git - rust.git/blobdiff - tests/ui/unsized/param-mentioned-by-different-field.stderr
Auto merge of #107618 - chriswailes:linker-arg, r=albertlarsan68
[rust.git] / tests / ui / unsized / param-mentioned-by-different-field.stderr
index d18fa6456f3ee41d7a8ccc422f2a69e530b78b53..b1ad0cb5b88eabcaf330429c2cb357ea70015765 100644 (file)
@@ -2,7 +2,7 @@ error[E0308]: mismatched types
   --> $DIR/param-mentioned-by-different-field.rs:8:25
    |
 LL |     let y: &Foo<[u8]> = &x;
-   |            ----------   ^^ expected slice `[u8]`, found array `[u8; 1]`
+   |            ----------   ^^ expected `&Foo<[u8]>`, found `&Foo<[u8; 1]>`
    |            |
    |            expected due to this
    |