mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-25 08:13:41 +00:00
16 lines
405 B
Plaintext
16 lines
405 B
Plaintext
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
|
|
|