mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-29 02:03:53 +00:00
16 lines
368 B
Plaintext
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
|
|
|