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 explicitely ignore it
13 LL | Dog { age: x, .. } => {}
16 error[E0027]: pattern does not mention fields `name`, `age`
17 --> $DIR/E0027.rs:13:9
20 | ^^^^^^ missing fields `name`, `age`
22 help: include the missing fields in the pattern
24 LL | Dog { name, age } => {}
26 help: if you don't care about these missing fields, you can explicitely ignore them
31 error: aborting due to 2 previous errors
33 For more information about this error, try `rustc --explain E0027`.