| warning: unused variable: `value` | |
| --> $DIR/issue-49588-non-shorthand-field-patterns-in-pattern-macro.rs:15:14 | |
| | | |
| LL | let pat!(value) = Value { value: () }; | |
| | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` | |
| | | |
| note: the lint level is defined here | |
| --> $DIR/issue-49588-non-shorthand-field-patterns-in-pattern-macro.rs:2:9 | |
| | | |
| LL | #![warn(unused)] | |
| | ^^^^^^ | |
| = note: `#[warn(unused_variables)]` implied by `#[warn(unused)]` | |
| warning: 1 warning emitted | |