]>
Commit | Line | Data |
---|---|---|
ea8adc8c XL |
1 | error: struct update has no effect, all the fields in the struct have already been specified |
2 | --> $DIR/needless_update.rs:16:23 | |
3 | | | |
4 | 16 | S { a: 1, b: 1, ..base }; | |
5 | | ^^^^ | |
6 | | | |
7 | = note: `-D needless-update` implied by `-D warnings` | |
8 | ||
9 | error: aborting due to previous error | |
10 |