You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Variable is both used and unused when assigning asm!() to it #89305
warning: unused variable: `x`
--> src/main.rs:5:13
|
5 | let x: () = asm!("nop");
| ^ help: if this is intentional, prefix it with an underscore: `_x`
|
= note: `#[warn(unused_variables)]` on by default
error[E0381]: use of possibly-uninitialized variable: `x`
--> src/main.rs:5:13
|
5 | let x: () = asm!("nop");
| ^ use of possibly-uninitialized `x`
Activity
Rollup merge of rust-lang#89311 - FabianWolff:issue-89305, r=oli-obk
Rollup merge of rust-lang#89311 - FabianWolff:issue-89305, r=oli-obk