1 error: the `x:` in this pattern is redundant
2 --> $DIR/lint-shorthand-field.rs:22:13
4 LL | x: x, //~ ERROR the `x:` in this pattern is redundant
9 note: lint level defined here
10 --> $DIR/lint-shorthand-field.rs:12:9
12 LL | #![deny(non_shorthand_field_patterns)]
13 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
15 error: the `y:` in this pattern is redundant
16 --> $DIR/lint-shorthand-field.rs:23:13
18 LL | y: ref y, //~ ERROR the `y:` in this pattern is redundant
23 error: aborting due to 2 previous errors