summaryrefslogtreecommitdiffstats
path: root/tests/ui/suggestions/dont-try-removing-the-field.stderr
blob: 263171a4ac456d13d06b8e589c4347efebccc90e (plain)
1
2
3
4
5
6
7
8
9
10
warning: unused variable: `baz`
  --> $DIR/dont-try-removing-the-field.rs:12:25
   |
LL |     let Foo { foo, bar, baz } = x;
   |                         ^^^ help: try ignoring the field: `baz: _`
   |
   = note: `#[warn(unused_variables)]` on by default

warning: 1 warning emitted