]> git.lizzy.rs Git - rust.git/commit - src/tools/rust-analyzer
Rollup merge of #82270 - asquared31415:asm-syntax-directive-errors, r=nagisa
authorDylan DPC <dylan.dpc@gmail.com>
Wed, 17 Mar 2021 23:28:06 +0000 (00:28 +0100)
committerGitHub <noreply@github.com>
Wed, 17 Mar 2021 23:28:06 +0000 (00:28 +0100)
commit16f6583f2d95b53610ee10073752e883dbfa24ea
treec1fef8dfd813219bdb24cf68103623a9b9a5e110
parent90797ef008a2004e70ff0106c756f24ea63ab236
parent4b13b8120e67e2b3173c8f6ce0d175847b745085
Rollup merge of #82270 - asquared31415:asm-syntax-directive-errors, r=nagisa

Emit error when trying to use assembler syntax directives in `asm!`

The `.intel_syntax` and `.att_syntax` assembler directives should not be used, in favor of not specifying a syntax for intel, and in favor of the explicit `att_syntax` option using the inline assembly options.

Closes #79869
compiler/rustc_session/src/session.rs