File tree Expand file tree Collapse file tree 1 file changed +8
-5
lines changed
src/librustc_error_codes/error_codes Expand file tree Collapse file tree 1 file changed +8
-5
lines changed Original file line number Diff line number Diff line change 11Malformed inline assembly rejected by LLVM.
22
3- LLVM checks the validity of the constraints and the assembly string passed to
4- it. This error implies that LLVM seems something wrong with the inline
5- assembly call.
3+ Erroneous code example:
64
7- In particular, it can happen if you forgot the closing bracket of a register
8- constraint (see issue #51430 ):
95``` compile_fail,E0668
106#![feature(llvm_asm)]
117
@@ -17,3 +13,10 @@ fn main() {
1713 }
1814}
1915```
16+
17+ LLVM checks the validity of the constraints and the assembly string passed to
18+ it. This error implies that LLVM seems something wrong with the inline
19+ assembly call.
20+
21+ In particular, it can happen if you forgot the closing bracket of a register
22+ constraint (see issue #51430 ), like in the previous code example.
You can’t perform that action at this time.
0 commit comments