summaryrefslogtreecommitdiffstats
path: root/tests/ui/liveness/liveness-derive.stderr
blob: c03d90991834c716d871bf5bea148a2b773d28a7 (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: `a`
  --> $DIR/liveness-derive.rs:15:13
   |
LL |         let a = 0;
   |             ^ help: if this is intentional, prefix it with an underscore: `_a`
   |
note: the lint level is defined here
  --> $DIR/liveness-derive.rs:6:9
   |
LL | #![warn(unused)]
   |         ^^^^^^
   = note: `#[warn(unused_variables)]` implied by `#[warn(unused)]`

warning: unused variable: `b`
  --> $DIR/liveness-derive.rs:20:13
   |
LL |         let b = 16;
   |             ^ help: if this is intentional, prefix it with an underscore: `_b`

warning: 2 warnings emitted