Add an error for inline assembly which are non-volatile without any outputs #46026
Labels
A-inline-assembly
Area: Inline assembly (`asm!(…)`)
C-feature-request
Category: A feature request, i.e: not implemented / a PR.
#45920 turned up some usages of inline assembly which have no outputs. LLVM will just remove such inline assembly as they can never be used. We should make this an error.
The text was updated successfully, but these errors were encountered: