2019-10-14 17:20:50 -07:00
|
|
|
error[E0532]: expected tuple struct or tuple variant, found unit variant `Color::NoColor`
|
2018-12-25 08:56:47 -07:00
|
|
|
--> $DIR/match-pattern-field-mismatch-2.rs:12:11
|
2018-08-08 14:28:26 +02:00
|
|
|
|
|
2021-05-02 11:46:29 +02:00
|
|
|
LL | NoColor,
|
|
|
|
| ------- `Color::NoColor` defined here
|
|
|
|
...
|
2018-12-16 22:21:47 -05:00
|
|
|
LL | Color::NoColor(_) => { }
|
2021-05-02 11:46:29 +02:00
|
|
|
| ^^^^^^^^^^^^^^^^^ help: use this syntax instead: `Color::NoColor`
|
2018-08-08 14:28:26 +02:00
|
|
|
|
|
|
|
error: aborting due to previous error
|
|
|
|
|
|
|
|
For more information about this error, try `rustc --explain E0532`.
|