summaryrefslogtreecommitdiffstats
path: root/tests/ui/destructuring-assignment/warn-unused-duplication.stderr
blob: e16625136acae2bc970d95cf63f90dcfccf40e5b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
warning: value assigned to `a` is never read
  --> $DIR/warn-unused-duplication.rs:9:6
   |
LL |     (a, a) = (0, 1);
   |      ^
   |
   = help: maybe it is overwritten before being read?
note: the lint level is defined here
  --> $DIR/warn-unused-duplication.rs:3:9
   |
LL | #![warn(unused_assignments)]
   |         ^^^^^^^^^^^^^^^^^^

warning: 1 warning emitted