2017-02-07 21:05:30 +01:00
|
|
|
error: struct update has no effect, all the fields in the struct have already been specified
|
2017-05-17 17:51:35 +02:00
|
|
|
--> needless_update.rs:16:23
|
2017-02-07 21:05:30 +01:00
|
|
|
|
|
2017-02-08 14:58:07 +01:00
|
|
|
16 | S { a: 1, b: 1, ..base };
|
2017-02-07 21:05:30 +01:00
|
|
|
| ^^^^
|
|
|
|
|
|
2017-05-17 14:19:44 +02:00
|
|
|
= note: `-D needless-update` implied by `-D warnings`
|
2017-02-07 21:05:30 +01:00
|
|
|
|
2017-07-03 06:37:30 +02:00
|
|
|
error: aborting due to previous error
|
2017-02-07 21:05:30 +01:00
|
|
|
|
2017-05-17 14:19:44 +02:00
|
|
|
|
|
|
|
To learn more, run the command again with --verbose.
|