rust/tests/ui/match/match-pattern-field-mismatch-2.stderr

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

13 lines
452 B
Plaintext
Raw Normal View History

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
|
LL | NoColor,
| ------- `Color::NoColor` defined here
...
LL | Color::NoColor(_) => { }
| ^^^^^^^^^^^^^^^^^ help: use this syntax instead: `Color::NoColor`
2018-08-08 12:28:26 +00:00
error: aborting due to previous error
For more information about this error, try `rustc --explain E0532`.