mirror of
https://github.com/rust-lang/rust.git
synced 2025-12-01 11:17:40 +00:00
11 lines
312 B
Plaintext
11 lines
312 B
Plaintext
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
|
|
|