]> git.lizzy.rs Git - rust.git/blob - src/test/ui/destructuring-assignment/warn-unused-duplication.stderr
Rollup merge of #89945 - JohnTitor:we-now-specialize-clone-from-slice, r=the8472
[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:11:6
3    |
4 LL |     (a, a) = (0, 1);
5    |      ^
6    |
7 note: the lint level is defined here
8   --> $DIR/warn-unused-duplication.rs:5:9
9    |
10 LL | #![warn(unused_assignments)]
11    |         ^^^^^^^^^^^^^^^^^^
12    = help: maybe it is overwritten before being read?
13
14 warning: 1 warning emitted
15