rust/compiler/rustc_error_codes/src/error_codes/E0662.md

17 lines
445 B
Markdown
Raw Normal View History

An invalid input operand constraint was passed to the `llvm_asm` macro
(third line).
Erroneous code example:
```compile_fail,E0662
llvm_asm!("xor %eax, %eax"
:
: "=test"("a")
);
```
Update links Formatting fixes Now that I can actually run `python x.py test src/tools/tidy` locally ... my god it takes a long time to compile when you're on a cellular connection. Removing unnecessary whitespaces Updates src/test/ui/json-short.stderr golden test file Fixes test failure by updating the golden file for changes in src/librustc_error_codes/error_codes/E0601.md Update src/librustc_error_codes/error_codes/E0080.md Co-Authored-By: varkor <github@varkor.com> Update src/librustc_error_codes/error_codes/E0080.md Co-Authored-By: varkor <github@varkor.com> Update src/librustc_error_codes/error_codes/E0080.md Co-Authored-By: varkor <github@varkor.com> Update src/librustc_error_codes/error_codes/E0154.md Co-Authored-By: varkor <github@varkor.com> Update src/librustc_error_codes/error_codes/E0154.md Co-Authored-By: varkor <github@varkor.com> Update src/librustc_error_codes/error_codes/E0661.md Co-Authored-By: varkor <github@varkor.com> Update src/librustc_error_codes/error_codes/E0662.md Co-Authored-By: varkor <github@varkor.com> Update src/librustc_error_codes/error_codes/E0663.md Co-Authored-By: varkor <github@varkor.com> Update src/librustc_error_codes/error_codes/E0664.md Co-Authored-By: varkor <github@varkor.com> Update src/test/ui/json-short.stderr Co-Authored-By: varkor <github@varkor.com> Update src/librustc_error_codes/error_codes/E0260.md Co-Authored-By: varkor <github@varkor.com> Update src/librustc_error_codes/error_codes/E0154.md Co-Authored-By: varkor <github@varkor.com> Update src/librustc_error_codes/error_codes/E0260.md Co-Authored-By: varkor <github@varkor.com> Apply suggestions from code review Co-Authored-By: varkor <github@varkor.com> Fixing 1 character over 80 cascade
2020-02-22 12:49:52 +01:00
Considering that this would be a long explanation, we instead recommend you
2020-05-08 16:36:34 +02:00
take a look at the [`llvm_asm`] chapter of the Unstable book:
Update links Formatting fixes Now that I can actually run `python x.py test src/tools/tidy` locally ... my god it takes a long time to compile when you're on a cellular connection. Removing unnecessary whitespaces Updates src/test/ui/json-short.stderr golden test file Fixes test failure by updating the golden file for changes in src/librustc_error_codes/error_codes/E0601.md Update src/librustc_error_codes/error_codes/E0080.md Co-Authored-By: varkor <github@varkor.com> Update src/librustc_error_codes/error_codes/E0080.md Co-Authored-By: varkor <github@varkor.com> Update src/librustc_error_codes/error_codes/E0080.md Co-Authored-By: varkor <github@varkor.com> Update src/librustc_error_codes/error_codes/E0154.md Co-Authored-By: varkor <github@varkor.com> Update src/librustc_error_codes/error_codes/E0154.md Co-Authored-By: varkor <github@varkor.com> Update src/librustc_error_codes/error_codes/E0661.md Co-Authored-By: varkor <github@varkor.com> Update src/librustc_error_codes/error_codes/E0662.md Co-Authored-By: varkor <github@varkor.com> Update src/librustc_error_codes/error_codes/E0663.md Co-Authored-By: varkor <github@varkor.com> Update src/librustc_error_codes/error_codes/E0664.md Co-Authored-By: varkor <github@varkor.com> Update src/test/ui/json-short.stderr Co-Authored-By: varkor <github@varkor.com> Update src/librustc_error_codes/error_codes/E0260.md Co-Authored-By: varkor <github@varkor.com> Update src/librustc_error_codes/error_codes/E0154.md Co-Authored-By: varkor <github@varkor.com> Update src/librustc_error_codes/error_codes/E0260.md Co-Authored-By: varkor <github@varkor.com> Apply suggestions from code review Co-Authored-By: varkor <github@varkor.com> Fixing 1 character over 80 cascade
2020-02-22 12:49:52 +01:00
[`llvm_asm`]: https://doc.rust-lang.org/stable/unstable-book/library-features/llvm-asm.html