]> git.lizzy.rs Git - rust.git/blobdiff - src/test/ui/match/match-struct.rs
Remove E0308 note when primary label has all info
[rust.git] / src / test / ui / match / match-struct.rs
index 5961e09a200a14f88cdaca5bbca62491b1030ab9..7a54c54b98cb85c2762a4d1402797863db58159c 100644 (file)
@@ -5,8 +5,6 @@ fn main() {
     match (S { a: 1 }) {
         E::C(_) => (),
         //~^ ERROR mismatched types
-        //~| expected type `S`
-        //~| found type `E`
         //~| expected struct `S`, found enum `E`
         _ => ()
     }