]>
Commit | Line | Data |
---|---|---|
b7449926 | 1 | error: the `x:` in this pattern is redundant |
0731742a | 2 | --> $DIR/lint-shorthand-field.rs:12:13 |
b7449926 | 3 | | |
532ac7d7 | 4 | LL | x: x, |
b7449926 XL |
5 | | --^^ |
6 | | | | |
7 | | help: remove this | |
8 | | | |
9 | note: lint level defined here | |
0731742a | 10 | --> $DIR/lint-shorthand-field.rs:2:9 |
b7449926 XL |
11 | | |
12 | LL | #![deny(non_shorthand_field_patterns)] | |
13 | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
14 | ||
15 | error: the `y:` in this pattern is redundant | |
0731742a | 16 | --> $DIR/lint-shorthand-field.rs:13:13 |
b7449926 | 17 | | |
532ac7d7 | 18 | LL | y: ref y, |
b7449926 XL |
19 | | --^^^^^^ |
20 | | | | |
21 | | help: remove this | |
22 | ||
23 | error: aborting due to 2 previous errors | |
24 |