blob: 57d89e44dcb862501d7969c53b577f5c4737a0de (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
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
|