]> git.lizzy.rs Git - rust.git/blobdiff - src/test/ui/issues/issue-14541.rs
Remove E0308 note when primary label has all info
[rust.git] / src / test / ui / issues / issue-14541.rs
index 705c3d326c65ccfac3b4411c7d06456feccf4bcf..555ec9f9868c5778cd086ef5bff443551c6776eb 100644 (file)
@@ -4,8 +4,6 @@ struct Vec3 { y: f32, z: f32 }
 fn make(v: Vec2) {
     let Vec3 { y: _, z: _ } = v;
     //~^ ERROR mismatched types
-    //~| expected type `Vec2`
-    //~| found type `Vec3`
     //~| expected struct `Vec2`, found struct `Vec3`
 }