diff options
| author | Alex Crichton <alex@alexcrichton.com> | 2016-01-22 23:49:57 -0800 |
|---|---|---|
| committer | Alex Crichton <alex@alexcrichton.com> | 2016-01-26 09:29:28 -0800 |
| commit | cb343c33acf0f9833d8d6eb637234acf4321976b (patch) | |
| tree | e8f94b5bd4fac82b36d1ea8efa37e8690e8229eb /src/libstd/sys/windows/stack_overflow.rs | |
| parent | 4b3c35509b7bd75c0b4712bb45440955d997ae75 (diff) | |
| download | rust-cb343c33acf0f9833d8d6eb637234acf4321976b.tar.gz rust-cb343c33acf0f9833d8d6eb637234acf4321976b.zip | |
Fix warnings during tests
The deny(warnings) attribute is now enabled for tests so we need to weed out these warnings as well.
Diffstat (limited to 'src/libstd/sys/windows/stack_overflow.rs')
| -rw-r--r-- | src/libstd/sys/windows/stack_overflow.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/libstd/sys/windows/stack_overflow.rs b/src/libstd/sys/windows/stack_overflow.rs index 01317bec0de..4a406d70e63 100644 --- a/src/libstd/sys/windows/stack_overflow.rs +++ b/src/libstd/sys/windows/stack_overflow.rs @@ -8,6 +8,8 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +#![cfg_attr(test, allow(dead_code))] + use sys_common::util::report_overflow; use sys::c; |
