]> git.lizzy.rs Git - rust.git/blobdiff - src/test/ui/diverging-fn-tail-35849.stderr
Remove E0308 note when primary label has all info
[rust.git] / src / test / ui / diverging-fn-tail-35849.stderr
index 383a7009e8599b3b40fafc2989f6e73fed867945..3f3ef666f66397245a075ac27240a97e540eed18 100644 (file)
@@ -5,10 +5,10 @@ LL | fn assert_sizeof() -> ! {
    |                       - expected `!` because of return type
 LL |     unsafe {
 LL |         ::std::mem::transmute::<f64, [u8; 8]>(panic!())
-   |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected !, found array of 8 elements
+   |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected !, found array `[u8; 8]`
    |
    = note: expected type `!`
-              found type `[u8; 8]`
+             found array `[u8; 8]`
 
 error: aborting due to previous error