2020-10-18 23:52:15 -05:00
|
|
|
warning: value assigned to `src` is never read
|
2020-10-21 00:56:22 -05:00
|
|
|
--> $DIR/liveness-asm.rs:13:32
|
2020-10-18 23:52:15 -05:00
|
|
|
|
|
|
|
|
LL | asm!("/*{0}*/", inout(reg) src);
|
|
|
|
| ^^^
|
|
|
|
|
|
|
|
|
note: the lint level is defined here
|
2020-10-21 00:56:22 -05:00
|
|
|
--> $DIR/liveness-asm.rs:8:9
|
2020-10-18 23:52:15 -05:00
|
|
|
|
|
|
|
|
LL | #![warn(unused_assignments)]
|
|
|
|
| ^^^^^^^^^^^^^^^^^^
|
|
|
|
= help: maybe it is overwritten before being read?
|
|
|
|
|
|
|
|
warning: value assigned to `src` is never read
|
2020-10-21 00:56:22 -05:00
|
|
|
--> $DIR/liveness-asm.rs:23:39
|
2020-10-18 23:52:15 -05:00
|
|
|
|
|
|
|
|
LL | asm!("/*{0}*/", inout(reg) src => src);
|
|
|
|
| ^^^
|
|
|
|
|
|
|
|
|
= help: maybe it is overwritten before being read?
|
|
|
|
|
|
|
|
warning: 2 warnings emitted
|
|
|
|
|