]> git.lizzy.rs Git - rust.git/blob - src/test/ui/destructuring-assignment/warn-unused-duplication.stderr
Auto merge of #106349 - LeSeulArtichaut:dyn-star-tracking-issue, r=jackh726
[rust.git] / src / test / ui / destructuring-assignment / warn-unused-duplication.stderr
1 warning: value assigned to `a` is never read
2   --> $DIR/warn-unused-duplication.rs:9:6
3    |
4 LL |     (a, a) = (0, 1);
5    |      ^
6    |
7    = help: maybe it is overwritten before being read?
8 note: the lint level is defined here
9   --> $DIR/warn-unused-duplication.rs:3:9
10    |
11 LL | #![warn(unused_assignments)]
12    |         ^^^^^^^^^^^^^^^^^^
13
14 warning: 1 warning emitted
15