rust/src/test/ui/match/match-pattern-field-mismatch-2.stderr

10 lines
342 B
Plaintext
Raw Normal View History

error[E0532]: expected tuple struct/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
|
LL | Color::NoColor(_) => { }
| ^^^^^^^^^^^^^^ not a tuple struct/variant
2018-08-08 07:28:26 -05:00
error: aborting due to previous error
For more information about this error, try `rustc --explain E0532`.