fork/rust
git clone https://git.julia.blue/fork/rust
4560ea788cb
1.39.0
1error[E0433]: failed to resolve: use of undeclared type or module `E` 2 --> $DIR/pattern-error-continue.rs:35:9 3 | 4LL | E::V => {} 5 | ^ use of undeclared type or module `E` 6 7error[E0532]: expected tuple struct/variant, found unit variant `A::D` 8 --> $DIR/pattern-error-continue.rs:18:9 9 | 10LL | A::D(_) => (), 11 | ^^^- 12 | | 13 | help: a tuple variant with a similar name exists: `B` 14 15error[E0023]: this pattern has 3 fields, but the corresponding tuple variant has 2 fields 16 --> $DIR/pattern-error-continue.rs:17:9 17 | 18LL | B(isize, isize), 19 | --------------- tuple variant defined here 20... 21LL | A::B(_, _, _) => (), 22 | ^^^^^^^^^^^^^ expected 2 fields, found 3 23 24error[E0308]: mismatched types 25 --> $DIR/pattern-error-continue.rs:22:9 26 | 27LL | match 'c' { 28 | --- this match expression has type `char` 29LL | S { .. } => (), 30 | ^^^^^^^^ expected char, found struct `S` 31 | 32 = note: expected type `char` 33 found type `S` 34 35error[E0308]: mismatched types 36 --> $DIR/pattern-error-continue.rs:30:7 37 | 38LL | f(true); 39 | ^^^^ expected char, found bool 40 41error: aborting due to 5 previous errors 42 43Some errors have detailed explanations: E0023, E0308, E0433, E0532. 44For more information about an error, try `rustc --explain E0023`.