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