Eagerly lower asm sub-expressions to HIR even if there is an error
Fixes #72570
This commit is contained in:
parent
215f2d3294
commit
6faa82be42
2 changed files with 45 additions and 36 deletions
7
src/test/ui/asm/issue-72570.rs
Normal file
7
src/test/ui/asm/issue-72570.rs
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
#![feature(asm)]
|
||||
|
||||
fn main() {
|
||||
unsafe {
|
||||
asm!("", in("invalid") "".len());
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue