]> git.proxmox.com Git - rustc.git/blob - tests/ui/suggestions/try-removing-the-field.stderr
New upstream version 1.68.2+dfsg1
[rustc.git] / tests / ui / suggestions / try-removing-the-field.stderr
1 warning: unused variable: `bar`
2 --> $DIR/try-removing-the-field.rs:12:20
3 |
4 LL | let Foo { foo, bar, .. } = x;
5 | ^^^-
6 | |
7 | help: try removing the field
8 |
9 = note: `#[warn(unused_variables)]` on by default
10
11 warning: unused variable: `unused`
12 --> $DIR/try-removing-the-field.rs:20:20
13 |
14 LL | Foo { foo: unused, .. } => {
15 | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_unused`
16
17 warning: unused variable: `foo`
18 --> $DIR/try-removing-the-field.rs:26:15
19 |
20 LL | Foo { foo, .. } => {
21 | ^^^-
22 | |
23 | help: try removing the field
24
25 warning: 3 warnings emitted
26