blob: 7efc5102042c2d1ab1107bd22ace2a404dc10ca6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
warning: unused variable: `x`
--> $DIR/issue-89305.rs:13:13
|
LL | let x: () = asm!("nop");
| ^ help: if this is intentional, prefix it with an underscore: `_x`
|
note: the lint level is defined here
--> $DIR/issue-89305.rs:7:9
|
LL | #![warn(unused)]
| ^^^^^^
= note: `#[warn(unused_variables)]` implied by `#[warn(unused)]`
warning: 1 warning emitted
|