summaryrefslogtreecommitdiffstats
path: root/tests/ui/match/match-pattern-field-mismatch-2.stderr
blob: ba32d0e99a47165c06007adb4f55a926c22976f0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
error[E0532]: expected tuple struct or tuple variant, found unit variant `Color::NoColor`
  --> $DIR/match-pattern-field-mismatch-2.rs:12:11
   |
LL |         NoColor,
   |         ------- `Color::NoColor` defined here
...
LL |           Color::NoColor(_) => { }
   |           ^^^^^^^^^^^^^^^^^ help: use this syntax instead: `Color::NoColor`

error: aborting due to previous error

For more information about this error, try `rustc --explain E0532`.