fork/rust
git clone https://git.julia.blue/fork/rust
b8cedc00407
1.42.0
1error[E0027]: pattern does not mention field `name` 2 --> $DIR/E0027-teach.rs:12:9 3 | 4LL | Dog { age: x } => {} 5 | ^^^^^^^^^^^^^^ missing field `name` 6 | 7 = note: This error indicates that a pattern for a struct fails to specify a sub-pattern for every one of the struct's fields. Ensure that each field from the struct's definition is mentioned in the pattern, or use `..` to ignore unwanted fields. 8 9error: aborting due to previous error 10 11For more information about this error, try `rustc --explain E0027`.