summaryrefslogtreecommitdiffstats
path: root/src/test/ui/closures/2229_closure_analysis/run_pass/destructure-pattern-closure-within-closure.stderr
blob: cf8bd7a0a276549dc5c25d75c683b1f0476df504 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
warning: unused variable: `g2`
  --> $DIR/destructure-pattern-closure-within-closure.rs:10:17
   |
LL |         let (_, g2) = g;
   |                 ^^ help: if this is intentional, prefix it with an underscore: `_g2`
   |
note: the lint level is defined here
  --> $DIR/destructure-pattern-closure-within-closure.rs:3:9
   |
LL | #![warn(unused)]
   |         ^^^^^^
   = note: `#[warn(unused_variables)]` implied by `#[warn(unused)]`

warning: unused variable: `t2`
  --> $DIR/destructure-pattern-closure-within-closure.rs:13:21
   |
LL |             let (_, t2) = t;
   |                     ^^ help: if this is intentional, prefix it with an underscore: `_t2`

warning: 2 warnings emitted