]> git.lizzy.rs Git - rust.git/blobdiff - src/test/ui/issues/issue-14541.stderr
Remove E0308 note when primary label has all info
[rust.git] / src / test / ui / issues / issue-14541.stderr
index fcff500cfda8eb72e5623102f386c524f750b1bb..c5512e03007dfb5c3c56bd83332cdf71537eb1d0 100644 (file)
@@ -1,11 +1,8 @@
 error[E0308]: mismatched types
-  --> $DIR/issue-14541.rs:15:9
+  --> $DIR/issue-14541.rs:5:9
    |
-LL |     let vec3 { y: _, z: _ } = v;
-   |         ^^^^^^^^^^^^^^^^^^^ expected struct `vec2`, found struct `vec3`
-   |
-   = note: expected type `vec2`
-              found type `vec3`
+LL |     let Vec3 { y: _, z: _ } = v;
+   |         ^^^^^^^^^^^^^^^^^^^ expected struct `Vec2`, found struct `Vec3`
 
 error: aborting due to previous error