about summary refs log tree commit diff
diff options
context:
space:
mode:
authorFelix S. Klock II <pnkfelix@pnkfx.org>2018-09-21 12:45:23 +0200
committerFelix S. Klock II <pnkfelix@pnkfx.org>2018-09-21 16:21:40 +0200
commita79db050c81b214062e54aae1ed6652dfef804d5 (patch)
tree557dfeff33222618ded12e787d0daf586c57b54a
parent3b585f195595490a871544d215686d9dd60de185 (diff)
downloadrust-a79db050c81b214062e54aae1ed6652dfef804d5.tar.gz
rust-a79db050c81b214062e54aae1ed6652dfef804d5.zip
Allow unused_imports lint on test where lint only fires on non-linux targets...
-rw-r--r--src/test/run-pass/env-null-vars.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/test/run-pass/env-null-vars.rs b/src/test/run-pass/env-null-vars.rs
index 296764269de..9a461991c1e 100644
--- a/src/test/run-pass/env-null-vars.rs
+++ b/src/test/run-pass/env-null-vars.rs
@@ -8,6 +8,8 @@
 // option. This file may not be copied, modified, or distributed
 // except according to those terms.
 
+#![allow(unused_imports)]
+
 // ignore-windows
 // ignore-wasm32-bare no libc to test ffi with