rust/tests/ui/destructuring-assignment/warn-unused-duplication.stderr
2023-01-11 09:32:08 +00:00

16 lines
368 B
Plaintext

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