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