diff options
| author | Felix S. Klock II <pnkfelix@pnkfx.org> | 2018-09-19 16:28:06 +0200 |
|---|---|---|
| committer | Felix S. Klock II <pnkfelix@pnkfx.org> | 2018-09-21 16:21:40 +0200 |
| commit | 3b585f195595490a871544d215686d9dd60de185 (patch) | |
| tree | e2c7d10bf6edc04e44d8610c5720302b7427df48 | |
| parent | 23e7e7820918452f1bd25cee9eff8d46b0236427 (diff) | |
Allow dead_code lint on some tests where the lint only fires on non-x86 targets...
| -rw-r--r-- | src/test/run-pass/asm-in-moved.rs | 1 | ||||
| -rw-r--r-- | src/test/run-pass/simple_global_asm.rs | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/src/test/run-pass/asm-in-moved.rs b/src/test/run-pass/asm-in-moved.rs index 246dd83fbef..debfcc5c552 100644 --- a/src/test/run-pass/asm-in-moved.rs +++ b/src/test/run-pass/asm-in-moved.rs @@ -12,6 +12,7 @@ //[mir]compile-flags: -Z borrowck=mir #![feature(asm)] +#![allow(dead_code)] use std::cell::Cell; diff --git a/src/test/run-pass/simple_global_asm.rs b/src/test/run-pass/simple_global_asm.rs index cd8273c6bc2..2d8ac6d99f7 100644 --- a/src/test/run-pass/simple_global_asm.rs +++ b/src/test/run-pass/simple_global_asm.rs @@ -10,6 +10,7 @@ #![feature(global_asm)] #![feature(naked_functions)] +#![allow(dead_code)] #[cfg(any(target_arch = "x86_64", target_arch = "x86"))] global_asm!(r#" |
