summaryrefslogtreecommitdiffstats
path: root/src/tools/clippy/tests/ui/needless_update.stderr
blob: b154b3b306ddcc1fab314d1d11ef898865015f7c (plain)
1
2
3
4
5
6
7
8
9
10
error: struct update has no effect, all the fields in the struct have already been specified
  --> $DIR/needless_update.rs:19:23
   |
LL |     S { a: 1, b: 1, ..base };
   |                       ^^^^
   |
   = note: `-D clippy::needless-update` implied by `-D warnings`

error: aborting due to previous error