blob: 59824139c8b39a466d5501450b529a6f09811f21 [file]
warning: value assigned to `a` is never read
--> $DIR/warn-unused-duplication.rs:9:6
|
LL | (a, a) = (0, 1);
| ^ - `a` is overwritten here before the previous value is read
| |
| this value is reassigned later and never used
|
note: the lint level is defined here
--> $DIR/warn-unused-duplication.rs:3:9
|
LL | #![warn(unused_assignments)]
| ^^^^^^^^^^^^^^^^^^
warning: 1 warning emitted