1 error[E0027]: pattern does not mention field `name`
4 LL | Dog { age: x } => {}
5 | ^^^^^^^^^^^^^^ missing field `name`
7 help: include the missing field in the pattern
9 LL | Dog { age: x, name } => {}
11 help: if you don't care about this missing field, you can explicitly ignore it
13 LL | Dog { age: x, .. } => {}
16 error[E0027]: pattern does not mention field `age`
17 --> $DIR/E0027.rs:15:9
19 LL | Dog { name: x, } => {}
20 | ^^^^^^^^^^^^^^^^ missing field `age`
22 help: include the missing field in the pattern
24 LL | Dog { name: x, age } => {}
26 help: if you don't care about this missing field, you can explicitly ignore it
28 LL | Dog { name: x, .. } => {}
31 error[E0027]: pattern does not mention field `age`
32 --> $DIR/E0027.rs:19:9
34 LL | Dog { name: x , } => {}
35 | ^^^^^^^^^^^^^^^^^^ missing field `age`
37 help: include the missing field in the pattern
39 LL | Dog { name: x, age } => {}
41 help: if you don't care about this missing field, you can explicitly ignore it
43 LL | Dog { name: x, .. } => {}
46 error[E0027]: pattern does not mention fields `name`, `age`
47 --> $DIR/E0027.rs:22:9
50 | ^^^^^^ missing fields `name`, `age`
52 help: include the missing fields in the pattern
54 LL | Dog { name, age } => {}
56 help: if you don't care about these missing fields, you can explicitly ignore them
61 error: aborting due to 4 previous errors
63 For more information about this error, try `rustc --explain E0027`.