fork/rust
git clone https://git.julia.blue/fork/rust
3bcad65fbf6
master
1error[E0027]: pattern does not mention field `name` 2 --> $DIR/E0027.rs:11:9 3 | 4LL | Dog { age: x } => {} 5 | ^^^^^^^^^^^^^^ missing field `name` 6 | 7help: include the missing field in the pattern 8 | 9LL | Dog { age: x, name } => {} 10 | ~~~~~~~~ 11help: if you don't care about this missing field, you can explicitly ignore it 12 | 13LL | Dog { age: x, .. } => {} 14 | ~~~~~~ 15 16error[E0027]: pattern does not mention field `age` 17 --> $DIR/E0027.rs:15:9 18 | 19LL | Dog { name: x, } => {} 20 | ^^^^^^^^^^^^^^^^ missing field `age` 21 | 22help: include the missing field in the pattern 23 | 24LL | Dog { name: x, age } => {} 25 | ~~~~~~~ 26help: if you don't care about this missing field, you can explicitly ignore it 27 | 28LL | Dog { name: x, .. } => {} 29 | ~~~~~~ 30 31error[E0027]: pattern does not mention field `age` 32 --> $DIR/E0027.rs:19:9 33 | 34LL | Dog { name: x , } => {} 35 | ^^^^^^^^^^^^^^^^^^ missing field `age` 36 | 37help: include the missing field in the pattern 38 | 39LL | Dog { name: x, age } => {} 40 | ~~~~~~~ 41help: if you don't care about this missing field, you can explicitly ignore it 42 | 43LL | Dog { name: x, .. } => {} 44 | ~~~~~~ 45 46error[E0027]: pattern does not mention fields `name`, `age` 47 --> $DIR/E0027.rs:22:9 48 | 49LL | Dog {} => {} 50 | ^^^^^^ missing fields `name`, `age` 51 | 52help: include the missing fields in the pattern 53 | 54LL | Dog { name, age } => {} 55 | ~~~~~~~~~~~~~ 56help: if you don't care about these missing fields, you can explicitly ignore them 57 | 58LL | Dog { .. } => {} 59 | ~~~~~~ 60 61error: aborting due to 4 previous errors 62 63For more information about this error, try `rustc --explain E0027`.