mirror of
https://github.com/rust-lang/rust.git
synced 2024-12-01 03:03:40 +00:00
52f7a218fb
The `asm!` and `global_asm!` macros require their operands to appear strictly in the following order: - Template strings - Positional operands - Named operands - Explicit register operands - `clobber_abi` - `options` This is overly strict and can be inconvienent when building complex `asm!` statements with macros. This PR relaxes the ordering requirements as follows: - Template strings must still come before all other operands. - Positional operands must still come before named and explicit register operands. - Named and explicit register operands can be freely mixed. - `options` and `clobber_abi` can appear in any position. |
||
---|---|---|
.. | ||
bad-options.rs | ||
bad-options.stderr | ||
bad-reg.rs | ||
bad-reg.stderr | ||
const.rs | ||
duplicate-options.fixed | ||
duplicate-options.rs | ||
duplicate-options.stderr | ||
interpolated-idents.rs | ||
interpolated-idents.stderr | ||
llvm-58384.rs | ||
may_unwind.rs | ||
parse-error.rs | ||
parse-error.stderr | ||
srcloc.rs | ||
srcloc.stderr | ||
sym.rs | ||
type-check-2-2.rs | ||
type-check-2-2.stderr | ||
type-check-2.rs | ||
type-check-2.stderr | ||
type-check-3.rs | ||
type-check-3.stderr | ||
type-check-4.rs | ||
type-check-4.stderr |