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