]> git.lizzy.rs Git - rust.git/blob - src/librustc_error_codes/error_codes/E0669.md
Auto merge of #66396 - smmalis37:pythontest, r=alexcrichton
[rust.git] / src / librustc_error_codes / error_codes / E0669.md
1 Cannot convert inline assembly operand to a single LLVM value.
2
3 This error usually happens when trying to pass in a value to an input inline
4 assembly operand that is actually a pair of values. In particular, this can
5 happen when trying to pass in a slice, for instance a `&str`. In Rust, these
6 values are represented internally as a pair of values, the pointer and its
7 length. When passed as an input operand, this pair of values can not be
8 coerced into a register and thus we must fail with an error.