1 // Test that certain pattern-match type errors are non-fatal
5 C(isize, isize, isize),
17 A::B(_, _, _) => (), //~ ERROR this pattern has 3 fields, but
18 A::D(_) => (), //~ ERROR expected tuple struct/variant, found unit variant `A::D`
23 //~^ ERROR mismatched types
24 //~| expected type `char`
26 //~| expected char, found struct `S`
31 //~^ ERROR mismatched types
32 //~| expected char, found bool
35 E::V => {} //~ ERROR failed to resolve: use of undeclared type or module `E`