2020-10-18 23:52:15 -05:00
|
|
|
warning: value assigned to `src` is never read
|
2021-12-09 18:15:33 -06:00
|
|
|
--> $DIR/liveness-asm.rs:14:32
|
2020-10-18 23:52:15 -05:00
|
|
|
|
|
|
|
|
LL | asm!("/*{0}*/", inout(reg) src);
|
|
|
|
| ^^^
|
|
|
|
|
|
2022-09-18 10:55:36 -05:00
|
|
|
= help: maybe it is overwritten before being read?
|
2020-10-18 23:52:15 -05:00
|
|
|
note: the lint level is defined here
|
2021-12-09 18:15:33 -06:00
|
|
|
--> $DIR/liveness-asm.rs:7:9
|
2020-10-18 23:52:15 -05:00
|
|
|
|
|
|
|
|
LL | #![warn(unused_assignments)]
|
|
|
|
| ^^^^^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
warning: value assigned to `src` is never read
|
2021-12-09 18:15:33 -06:00
|
|
|
--> $DIR/liveness-asm.rs:24: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
|
|
|
|
|