]> git.lizzy.rs Git - rust.git/commitdiff
Allow some lints that only fired on 32-bit and/or Windows.
authorFelix S. Klock II <pnkfelix@pnkfx.org>
Thu, 27 Sep 2018 08:14:57 +0000 (10:14 +0200)
committerFelix S. Klock II <pnkfelix@pnkfx.org>
Thu, 27 Sep 2018 08:14:57 +0000 (10:14 +0200)
src/test/run-pass/process/process-sigpipe.rs
src/test/run-pass/structs-enums/struct-return.rs

index d1e3fba14cf192ed6df54482e8141b5924db86d6..715da1514f30ea6ce21f645acfd118c063c8c0cb 100644 (file)
@@ -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
index a2b380c7e18e08c4007beef8541caf386a1bae66..5f85954f6b1184da4adae08582fe3834a7fbe422 100644 (file)
@@ -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)]