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)]