mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-07 09:13:07 +03:00
Bless liveness-asm output
This commit is contained in:
@@ -1,18 +1,18 @@
|
||||
warning: value assigned to `src` is never read
|
||||
--> $DIR/liveness-asm.rs:12:32
|
||||
--> $DIR/liveness-asm.rs:13:32
|
||||
|
|
||||
LL | asm!("/*{0}*/", inout(reg) src);
|
||||
| ^^^
|
||||
|
|
||||
note: the lint level is defined here
|
||||
--> $DIR/liveness-asm.rs:7:9
|
||||
--> $DIR/liveness-asm.rs:8:9
|
||||
|
|
||||
LL | #![warn(unused_assignments)]
|
||||
| ^^^^^^^^^^^^^^^^^^
|
||||
= help: maybe it is overwritten before being read?
|
||||
|
||||
warning: value assigned to `src` is never read
|
||||
--> $DIR/liveness-asm.rs:22:39
|
||||
--> $DIR/liveness-asm.rs:23:39
|
||||
|
|
||||
LL | asm!("/*{0}*/", inout(reg) src => src);
|
||||
| ^^^
|
||||
|
||||
Reference in New Issue
Block a user