rust/tests/ui/closures/2229_closure_analysis/run_pass/destructure-pattern-closure-within-closure.stderr

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

22 lines
695 B
Plaintext
Raw Normal View History

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