1 error[E0532]: expected tuple struct or tuple variant, found unit variant `FarmAnimal::Cow`
2 --> $DIR/issue-84700.rs:15:9
5 | --- `FarmAnimal::Cow` defined here
7 LL | FarmAnimal::Cow(_) => "moo".to_string(),
8 | ^^^^^^^^^^^^^^^^^^ help: use this syntax instead: `FarmAnimal::Cow`
10 error[E0532]: expected tuple struct or tuple variant, found struct variant `FarmAnimal::Chicken`
11 --> $DIR/issue-84700.rs:17:9
13 LL | Chicken { num_eggs: usize },
14 | --------------------------- `FarmAnimal::Chicken` defined here
16 LL | FarmAnimal::Chicken(_) => "cluck, cluck!".to_string(),
17 | ^^^^^^^^^^^^^^^^^^^^^^ help: use struct pattern syntax instead: `FarmAnimal::Chicken { num_eggs }`
19 error: aborting due to 2 previous errors
21 For more information about this error, try `rustc --explain E0532`.