1 error[E0433]: failed to resolve: use of undeclared type or module `E`
2 --> $DIR/pattern-error-continue.rs:35:9
4 LL | E::V => {} //~ ERROR failed to resolve: use of undeclared type or module `E`
5 | ^ use of undeclared type or module `E`
7 error[E0532]: expected tuple struct/variant, found unit variant `A::D`
8 --> $DIR/pattern-error-continue.rs:18:9
10 LL | A::D(_) => (), //~ ERROR expected tuple struct/variant, found unit variant `A::D`
13 | help: a tuple variant with a similar name exists: `B`
15 error[E0023]: this pattern has 3 fields, but the corresponding tuple variant has 2 fields
16 --> $DIR/pattern-error-continue.rs:17:9
18 LL | A::B(_, _, _) => (), //~ ERROR this pattern has 3 fields, but
19 | ^^^^^^^^^^^^^ expected 2 fields, found 3
21 error[E0308]: mismatched types
22 --> $DIR/pattern-error-continue.rs:22:9
25 | --- this match expression has type `char`
27 | ^^^^^^^^ expected char, found struct `S`
29 = note: expected type `char`
32 error[E0308]: mismatched types
33 --> $DIR/pattern-error-continue.rs:30:7
36 | ^^^^ expected char, found bool
38 error: aborting due to 5 previous errors
40 Some errors occurred: E0023, E0308, E0433, E0532.
41 For more information about an error, try `rustc --explain E0023`.