Skip to content

Commit 3b585f1

Browse files
committed
Allow dead_code lint on some tests where the lint only fires on non-x86 targets...
1 parent 23e7e78 commit 3b585f1

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

src/test/run-pass/asm-in-moved.rs

+1
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
//[mir]compile-flags: -Z borrowck=mir
1313

1414
#![feature(asm)]
15+
#![allow(dead_code)]
1516

1617
use std::cell::Cell;
1718

src/test/run-pass/simple_global_asm.rs

+1
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010

1111
#![feature(global_asm)]
1212
#![feature(naked_functions)]
13+
#![allow(dead_code)]
1314

1415
#[cfg(any(target_arch = "x86_64", target_arch = "x86"))]
1516
global_asm!(r#"

0 commit comments

Comments
 (0)