| 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 | |