fork/rust
git clone https://git.julia.blue/fork/rust
3bcad65fbf6
master
1error: redundant field names in struct initialization 2 --> $DIR/redundant_field_names.rs:33:9 3 | 4LL | gender: gender, 5 | ^^^^^^^^^^^^^^ help: replace it with: `gender` 6 | 7 = note: `-D clippy::redundant-field-names` implied by `-D warnings` 8 = help: to override `-D warnings` add `#[allow(clippy::redundant_field_names)]` 9 10error: redundant field names in struct initialization 11 --> $DIR/redundant_field_names.rs:34:9 12 | 13LL | age: age, 14 | ^^^^^^^^ help: replace it with: `age` 15 16error: redundant field names in struct initialization 17 --> $DIR/redundant_field_names.rs:55:25 18 | 19LL | let _ = RangeFrom { start: start }; 20 | ^^^^^^^^^^^^ help: replace it with: `start` 21 22error: redundant field names in struct initialization 23 --> $DIR/redundant_field_names.rs:56:23 24 | 25LL | let _ = RangeTo { end: end }; 26 | ^^^^^^^^ help: replace it with: `end` 27 28error: redundant field names in struct initialization 29 --> $DIR/redundant_field_names.rs:57:21 30 | 31LL | let _ = Range { start: start, end: end }; 32 | ^^^^^^^^^^^^ help: replace it with: `start` 33 34error: redundant field names in struct initialization 35 --> $DIR/redundant_field_names.rs:57:35 36 | 37LL | let _ = Range { start: start, end: end }; 38 | ^^^^^^^^ help: replace it with: `end` 39 40error: redundant field names in struct initialization 41 --> $DIR/redundant_field_names.rs:59:32 42 | 43LL | let _ = RangeToInclusive { end: end }; 44 | ^^^^^^^^ help: replace it with: `end` 45 46error: redundant field names in struct initialization 47 --> $DIR/redundant_field_names.rs:88:25 48 | 49LL | let _ = RangeFrom { start: start }; 50 | ^^^^^^^^^^^^ help: replace it with: `start` 51 52error: aborting due to 8 previous errors 53