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
I expected to see this happen: Nothing should error out, as expected from rustc
Instead, this happened: gccrs errors out with
/home/workspace/gccrs/gcc/testsuite/rust/compile/inline_asm_compile_nop.rs:10:9: fatal error: failed to lookup variable declaration type
10 | let _ = asm!("nop");
| ^~~
compilation terminated.
From Arthur Cohen
the error that gccrs is spitting out, but not rustc, is due to typechecking. we haven't yet done any typechecking for HIR::InlineAsm nodes, so when the typechecker tries to check everything is okay for an HIR::LetStmt, it fails to lookup the type of the let's expression
Meta
What version of Rust GCC were you using, git sha if possible. 7fa14d4f64a1339fcecf9c73c8831c6db434a741
The text was updated successfully, but these errors were encountered:
I tried this code:
I expected to see this happen: Nothing should error out, as expected from rustc
Instead, this happened: gccrs errors out with
From Arthur Cohen
Meta
7fa14d4f64a1339fcecf9c73c8831c6db434a741
The text was updated successfully, but these errors were encountered: