fork/rust
git clone https://git.julia.blue/fork/rust
5e1a799842b
1.41.0
1error: the `x:` in this pattern is redundant 2 --> $DIR/lint-shorthand-field.rs:12:13 3 | 4LL | x: x, 5 | --^^ 6 | | 7 | help: remove this 8 | 9note: lint level defined here 10 --> $DIR/lint-shorthand-field.rs:2:9 11 | 12LL | #![deny(non_shorthand_field_patterns)] 13 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 14 15error: the `y:` in this pattern is redundant 16 --> $DIR/lint-shorthand-field.rs:13:13 17 | 18LL | y: ref y, 19 | --^^^^^^ 20 | | 21 | help: remove this 22 23error: aborting due to 2 previous errors 24