blob: d0128950ddda4c8cccb456236771c67a6cedbc82 [file] [edit]
warning: value assigned to `x` is never read
--> $DIR/bind-by-copy.rs:37:5
|
LL | x.b.c = 30;
| ^^^^^^^^^^
|
= help: maybe it is overwritten before being read?
note: the lint level is defined here
--> $DIR/bind-by-copy.rs:3:9
|
LL | #![warn(unused_assignments)]
| ^^^^^^^^^^^^^^^^^^
warning: value assigned to `y` is never read
--> $DIR/bind-by-copy.rs:42:5
|
LL | y.d.c = 30;
| ^^^^^^^^^^
|
= help: maybe it is overwritten before being read?
warning: value assigned to `x` is never read
--> $DIR/bind-by-copy.rs:56:13
|
LL | x = E::NotE;
| ^^^^^^^^^^^
|
= help: maybe it is overwritten before being read?
warning: 3 warnings emitted