mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-24 15:54:15 +00:00
24 lines
636 B
Plaintext
24 lines
636 B
Plaintext
warning: value assigned to `src` is never read
|
|
--> $DIR/liveness-asm.rs:14:32
|
|
|
|
|
LL | asm!("/*{0}*/", inout(reg) src);
|
|
| ^^^
|
|
|
|
|
= help: maybe it is overwritten before being read?
|
|
note: the lint level is defined here
|
|
--> $DIR/liveness-asm.rs:7:9
|
|
|
|
|
LL | #![warn(unused_assignments)]
|
|
| ^^^^^^^^^^^^^^^^^^
|
|
|
|
warning: value assigned to `src` is never read
|
|
--> $DIR/liveness-asm.rs:24:39
|
|
|
|
|
LL | asm!("/*{0}*/", inout(reg) src => src);
|
|
| ^^^
|
|
|
|
|
= help: maybe it is overwritten before being read?
|
|
|
|
warning: 2 warnings emitted
|
|
|