]> git.proxmox.com Git - rustc.git/blobdiff - src/test/ui/issues/issue-13446.stderr
New upstream version 1.41.1+dfsg1
[rustc.git] / src / test / ui / issues / issue-13446.stderr
index a27bfeda64c261f6dd5d363fe50bebcb4a68a14f..13c35dd84f7c51499f4f9a46bc37f59072e4554a 100644 (file)
@@ -2,10 +2,10 @@ error[E0308]: mismatched types
   --> $DIR/issue-13446.rs:3:26
    |
 LL | static VEC: [u32; 256] = vec![];
-   |                          ^^^^^^ expected array of 256 elements, found struct `std::vec::Vec`
+   |                          ^^^^^^ expected array `[u32; 256]`, found struct `std::vec::Vec`
    |
-   = note: expected type `[u32; 256]`
-              found type `std::vec::Vec<_>`
+   = note: expected array `[u32; 256]`
+             found struct `std::vec::Vec<_>`
    = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info)
 
 error: aborting due to previous error