forked from rust-lang/rust
-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
22 changed files
with
96 additions
and
30 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,70 @@ | ||
error: Intel x86 assembly syntax used | ||
--> tests/ui/asm_syntax_x86.rs:8:9 | ||
| | ||
LL | asm!(""); | ||
| ^^^^^^^^ | ||
| | ||
= help: use AT&T x86 assembly syntax | ||
= note: `-D clippy::inline-asm-x86-intel-syntax` implied by `-D warnings` | ||
= help: to override `-D warnings` add `#[allow(clippy::inline_asm_x86_intel_syntax)]` | ||
|
||
error: Intel x86 assembly syntax used | ||
--> tests/ui/asm_syntax_x86.rs:10:9 | ||
| | ||
LL | asm!("", options()); | ||
| ^^^^^^^^^^^^^^^^^^^ | ||
| | ||
= help: use AT&T x86 assembly syntax | ||
|
||
error: Intel x86 assembly syntax used | ||
--> tests/ui/asm_syntax_x86.rs:12:9 | ||
| | ||
LL | asm!("", options(nostack)); | ||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^ | ||
| | ||
= help: use AT&T x86 assembly syntax | ||
|
||
error: Intel x86 assembly syntax used | ||
--> tests/ui/asm_syntax_x86.rs:18:5 | ||
| | ||
LL | global_asm!(""); | ||
| ^^^^^^^^^^^^^^^ | ||
| | ||
= help: use AT&T x86 assembly syntax | ||
|
||
error: Intel x86 assembly syntax used | ||
--> tests/ui/asm_syntax_x86.rs:20:5 | ||
| | ||
LL | global_asm!("", options()); | ||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^ | ||
| | ||
= help: use AT&T x86 assembly syntax | ||
|
||
error: AT&T x86 assembly syntax used | ||
--> tests/ui/asm_syntax_x86.rs:33:9 | ||
| | ||
LL | asm!("", options(att_syntax)); | ||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | ||
| | ||
= help: use Intel x86 assembly syntax | ||
= note: `-D clippy::inline-asm-x86-att-syntax` implied by `-D warnings` | ||
= help: to override `-D warnings` add `#[allow(clippy::inline_asm_x86_att_syntax)]` | ||
|
||
error: AT&T x86 assembly syntax used | ||
--> tests/ui/asm_syntax_x86.rs:35:9 | ||
| | ||
LL | asm!("", options(nostack, att_syntax)); | ||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | ||
| | ||
= help: use Intel x86 assembly syntax | ||
|
||
error: AT&T x86 assembly syntax used | ||
--> tests/ui/asm_syntax_x86.rs:41:5 | ||
| | ||
LL | global_asm!("", options(att_syntax)); | ||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | ||
| | ||
= help: use Intel x86 assembly syntax | ||
|
||
error: aborting due to 8 previous errors | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
//@ignore-target-apple | ||
//@ignore-target: apple | ||
|
||
#![feature(rustc_attrs)] | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
//@ignore-target-apple | ||
//@ignore-target: apple | ||
|
||
#![feature(no_core, lang_items, start)] | ||
#![no_core] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
//@ignore-32bit | ||
//@ignore-bitwidth: 32 | ||
|
||
#![warn(clippy::result_large_err)] | ||
#![allow(clippy::large_enum_variant)] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
//@ignore-64bit | ||
//@ignore-bitwidth: 64 | ||
|
||
#[warn(clippy::wrong_transmute)] | ||
fn main() { | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
//@ignore-32bit | ||
//@ignore-bitwidth: 32 | ||
|
||
#[warn(clippy::wrong_transmute)] | ||
fn main() { | ||
|