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