1 error: the `x:` in this pattern is redundant
2 --> $DIR/lint-shorthand-field.rs:14:13
5 | ^^^^ help: use shorthand field pattern: `x`
7 note: the lint level is defined here
8 --> $DIR/lint-shorthand-field.rs:4:9
10 LL | #![deny(non_shorthand_field_patterns)]
11 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
13 error: the `y:` in this pattern is redundant
14 --> $DIR/lint-shorthand-field.rs:15:13
17 | ^^^^^^^^ help: use shorthand field pattern: `ref y`
19 error: the `x:` in this pattern is redundant
20 --> $DIR/lint-shorthand-field.rs:65:13
23 | ^^^^^^^^ help: use shorthand field pattern: `mut x`
25 error: the `y:` in this pattern is redundant
26 --> $DIR/lint-shorthand-field.rs:66:13
29 | ^^^^^^^^ help: use shorthand field pattern: `ref y`
31 error: the `z:` in this pattern is redundant
32 --> $DIR/lint-shorthand-field.rs:67:13
35 | ^^^^^^^^^^^^ help: use shorthand field pattern: `ref mut z`
37 error: aborting due to 5 previous errors