fork/rust
git clone https://git.julia.blue/fork/rust
3bcad65fbf6
master
1error: the `x:` in this pattern is redundant 2 --> $DIR/lint-shorthand-field.rs:14:13 3 | 4LL | x: x, 5 | ^^^^ help: use shorthand field pattern: `x` 6 | 7note: the lint level is defined here 8 --> $DIR/lint-shorthand-field.rs:4:9 9 | 10LL | #![deny(non_shorthand_field_patterns)] 11 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 12 13error: the `y:` in this pattern is redundant 14 --> $DIR/lint-shorthand-field.rs:15:13 15 | 16LL | y: ref y, 17 | ^^^^^^^^ help: use shorthand field pattern: `ref y` 18 19error: the `x:` in this pattern is redundant 20 --> $DIR/lint-shorthand-field.rs:65:13 21 | 22LL | x: mut x, 23 | ^^^^^^^^ help: use shorthand field pattern: `mut x` 24 25error: the `y:` in this pattern is redundant 26 --> $DIR/lint-shorthand-field.rs:66:13 27 | 28LL | y: ref y, 29 | ^^^^^^^^ help: use shorthand field pattern: `ref y` 30 31error: the `z:` in this pattern is redundant 32 --> $DIR/lint-shorthand-field.rs:67:13 33 | 34LL | z: ref mut z, 35 | ^^^^^^^^^^^^ help: use shorthand field pattern: `ref mut z` 36 37error: aborting due to 5 previous errors 38