]> git.lizzy.rs Git - rust.git/blob - tests/ui/suggestions/issue-84700.stderr
Rollup merge of #105795 - nicholasbishop:bishop-stabilize-efiapi, r=joshtriplett
[rust.git] / tests / ui / suggestions / issue-84700.stderr
1 error[E0532]: expected tuple struct or tuple variant, found unit variant `FarmAnimal::Cow`
2   --> $DIR/issue-84700.rs:15:9
3    |
4 LL |     Cow,
5    |     --- `FarmAnimal::Cow` defined here
6 ...
7 LL |         FarmAnimal::Cow(_) => "moo".to_string(),
8    |         ^^^^^^^^^^^^^^^^^^ help: use this syntax instead: `FarmAnimal::Cow`
9
10 error[E0164]: expected tuple struct or tuple variant, found struct variant `FarmAnimal::Chicken`
11   --> $DIR/issue-84700.rs:17:9
12    |
13 LL |         FarmAnimal::Chicken(_) => "cluck, cluck!".to_string(),
14    |         ^^^^^^^^^^^^^^^^^^^^^^ not a tuple struct or tuple variant
15
16 error: aborting due to 2 previous errors
17
18 Some errors have detailed explanations: E0164, E0532.
19 For more information about an error, try `rustc --explain E0164`.