2022-08-23 06:53:02 -05:00
|
|
|
warning: unused variable: `g2`
|
|
|
|
--> $DIR/destructure-pattern-closure-within-closure.rs:10:17
|
2021-02-21 09:20:40 -06:00
|
|
|
|
|
2022-08-23 06:53:02 -05:00
|
|
|
LL | let (_, g2) = g;
|
|
|
|
| ^^ help: if this is intentional, prefix it with an underscore: `_g2`
|
2021-02-21 09:20:40 -06:00
|
|
|
|
|
2021-02-23 16:55:36 -06:00
|
|
|
note: the lint level is defined here
|
2021-06-27 01:22:46 -05:00
|
|
|
--> $DIR/destructure-pattern-closure-within-closure.rs:3:9
|
2021-02-21 09:20:40 -06:00
|
|
|
|
|
2021-02-23 16:55:36 -06:00
|
|
|
LL | #![warn(unused)]
|
|
|
|
| ^^^^^^
|
|
|
|
= note: `#[warn(unused_variables)]` implied by `#[warn(unused)]`
|
2021-02-21 09:20:40 -06:00
|
|
|
|
2022-08-23 06:53:02 -05:00
|
|
|
warning: unused variable: `t2`
|
|
|
|
--> $DIR/destructure-pattern-closure-within-closure.rs:13:21
|
2021-02-21 09:20:40 -06:00
|
|
|
|
|
2022-08-23 06:53:02 -05:00
|
|
|
LL | let (_, t2) = t;
|
|
|
|
| ^^ help: if this is intentional, prefix it with an underscore: `_t2`
|
2021-02-21 09:20:40 -06:00
|
|
|
|
2021-06-27 01:22:46 -05:00
|
|
|
warning: 2 warnings emitted
|
2021-02-21 09:20:40 -06:00
|
|
|
|