From 3eaa5e3467177efe969b92ae53636d6dd7c29947 Mon Sep 17 00:00:00 2001 From: "Felix S. Klock II" Date: Thu, 27 Sep 2018 10:14:57 +0200 Subject: [PATCH] Allow some lints that only fired on 32-bit and/or Windows. --- src/test/run-pass/process/process-sigpipe.rs | 1 + src/test/run-pass/structs-enums/struct-return.rs | 1 + 2 files changed, 2 insertions(+) diff --git a/src/test/run-pass/process/process-sigpipe.rs b/src/test/run-pass/process/process-sigpipe.rs index d1e3fba14cf1..715da1514f30 100644 --- a/src/test/run-pass/process/process-sigpipe.rs +++ b/src/test/run-pass/process/process-sigpipe.rs @@ -9,6 +9,7 @@ // except according to those terms. // run-pass +#![allow(unused_imports)] #![allow(deprecated)] // ignore-android since the dynamic linker sets a SIGPIPE handler (to do diff --git a/src/test/run-pass/structs-enums/struct-return.rs b/src/test/run-pass/structs-enums/struct-return.rs index a2b380c7e18e..5f85954f6b11 100644 --- a/src/test/run-pass/structs-enums/struct-return.rs +++ b/src/test/run-pass/structs-enums/struct-return.rs @@ -9,6 +9,7 @@ // except according to those terms. // run-pass +#![allow(dead_code)] // ignore-wasm32-bare no libc to test ffi with #[repr(C)]