rust/tests/ui/destructuring-assignment/warn-unused-duplication.stderr

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

16 lines
368 B
Plaintext
Raw Normal View History

warning: value assigned to `a` is never read
2021-11-03 01:50:57 -05:00
--> $DIR/warn-unused-duplication.rs:9:6
|
LL | (a, a) = (0, 1);
| ^
|
2022-09-18 10:55:36 -05:00
= help: maybe it is overwritten before being read?
note: the lint level is defined here
2021-11-03 01:50:57 -05:00
--> $DIR/warn-unused-duplication.rs:3:9
|
LL | #![warn(unused_assignments)]
| ^^^^^^^^^^^^^^^^^^
warning: 1 warning emitted