From cb343c33acf0f9833d8d6eb637234acf4321976b Mon Sep 17 00:00:00 2001 From: Alex Crichton Date: Fri, 22 Jan 2016 23:49:57 -0800 Subject: Fix warnings during tests The deny(warnings) attribute is now enabled for tests so we need to weed out these warnings as well. --- src/libstd/sys/unix/stack_overflow.rs | 1 + 1 file changed, 1 insertion(+) (limited to 'src/libstd/sys/unix/stack_overflow.rs') diff --git a/src/libstd/sys/unix/stack_overflow.rs b/src/libstd/sys/unix/stack_overflow.rs index fc49f4257be..c7614db3299 100644 --- a/src/libstd/sys/unix/stack_overflow.rs +++ b/src/libstd/sys/unix/stack_overflow.rs @@ -7,6 +7,7 @@ // , at your // option. This file may not be copied, modified, or distributed // except according to those terms. + #![cfg_attr(test, allow(dead_code))] use libc; -- cgit 1.4.1-3-g733a5