about summary refs log tree commit diff
path: root/src/libstd/sys/common/thread_local.rs
diff options
context:
space:
mode:
authorAlex Crichton <alex@alexcrichton.com>2015-03-09 20:04:35 -0700
committerAlex Crichton <alex@alexcrichton.com>2015-03-12 10:23:27 -0700
commitc933d44f7bb908aa520250b608f85bfacfccc337 (patch)
tree82cab26f340e4cfdc5d373d621fd77713f6c6d78 /src/libstd/sys/common/thread_local.rs
parent206ee0e8533dd3e1ee324da445e02ad79c51e849 (diff)
downloadrust-c933d44f7bb908aa520250b608f85bfacfccc337.tar.gz
rust-c933d44f7bb908aa520250b608f85bfacfccc337.zip
std: Remove #[allow] directives in sys modules
These were suppressing lots of interesting warnings! Turns out there was also
quite a bit of dead code.
Diffstat (limited to 'src/libstd/sys/common/thread_local.rs')
-rw-r--r--src/libstd/sys/common/thread_local.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libstd/sys/common/thread_local.rs b/src/libstd/sys/common/thread_local.rs
index 27936241639..ecd047710bb 100644
--- a/src/libstd/sys/common/thread_local.rs
+++ b/src/libstd/sys/common/thread_local.rs
@@ -56,6 +56,7 @@
 
 #![allow(non_camel_case_types)]
 #![unstable(feature = "thread_local_internals")]
+#![allow(dead_code)] // sys isn't exported yet
 
 use prelude::v1::*;