about summary refs log tree commit diff
path: root/tests/ui/lint/unused/issue-119383-if-let-guard.stderr
blob: 5bf48bb80a8f6330f3e2101468ca0192bc750377 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
error: unused variable: `b`
  --> $DIR/issue-119383-if-let-guard.rs:6:24
   |
LL |         () if let Some(b) = Some(()) => {}
   |                        ^ help: if this is intentional, prefix it with an underscore: `_b`
   |
note: the lint level is defined here
  --> $DIR/issue-119383-if-let-guard.rs:2:9
   |
LL | #![deny(unused_variables)]
   |         ^^^^^^^^^^^^^^^^

error: aborting due to 1 previous error