about summary refs log tree commit diff
path: root/tests/ui/suggestions/dont-try-removing-the-field.stderr
blob: e327b21417a6b07710c6b4ef876eb36fbaa01b4b (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)]` (part of `#[warn(unused)]`) on by default

warning: 1 warning emitted