1 error[E0023]: this pattern has 2 fields, but the corresponding tuple variant has 3 fields
2 --> $DIR/match-pattern-field-mismatch.rs:10:22
4 LL | Rgb(usize, usize, usize),
5 | ----- ----- ----- tuple variant has 3 fields
7 LL | Color::Rgb(_, _) => { }
8 | ^ ^ expected 3 fields, found 2
10 help: use `_` to explicitly ignore each field
12 LL | Color::Rgb(_, _, _) => { }
14 help: use `..` to ignore all fields
16 LL | Color::Rgb(..) => { }
19 error: aborting due to previous error
21 For more information about this error, try `rustc --explain E0023`.