summaryrefslogtreecommitdiffstats
path: root/tests/ui/lint/lint-match-arms.stderr
blob: 1bc0e41fd550c2318c764bc1735859f73a0b16cc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
error: unused variable: `y`
  --> $DIR/lint-match-arms.rs:5:9
   |
LL |         y => (),
   |         ^ help: if this is intentional, prefix it with an underscore: `_y`
   |
note: the lint level is defined here
  --> $DIR/lint-match-arms.rs:3:16
   |
LL |         #[deny(unused_variables)]
   |                ^^^^^^^^^^^^^^^^

error: aborting due to previous error