summaryrefslogtreecommitdiffstats
path: root/tests/ui/nll/issue-61424.stderr
blob: 8dc66cbaef80f6f8a980a619817127c6688039fe (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
error: variable does not need to be mutable
  --> $DIR/issue-61424.rs:6:9
   |
LL |     let mut x;
   |         ----^
   |         |
   |         help: remove this `mut`
   |
note: the lint level is defined here
  --> $DIR/issue-61424.rs:3:9
   |
LL | #![deny(unused_mut)]
   |         ^^^^^^^^^^

error: aborting due to 1 previous error