summary refs log tree commit diff
path: root/src/test/ui/issue-22599.stderr
blob: 19c9b94a430a8118e215a4ea93b6d122fd7b0e61 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
error: unused variable: `a`
  --> $DIR/issue-22599.rs:18:19
   |
LL |     v = match 0 { a => 0 }; //~ ERROR: unused variable: `a`
   |                   ^ help: consider using `_a` instead
   |
note: lint level defined here
  --> $DIR/issue-22599.rs:11:9
   |
LL | #![deny(unused_variables)]
   |         ^^^^^^^^^^^^^^^^

error: aborting due to previous error