about summary refs log tree commit diff
path: root/src/libstd
diff options
context:
space:
mode:
authorvarkor <github@varkor.com>2018-07-25 14:27:27 +0100
committervarkor <github@varkor.com>2018-08-05 15:54:49 +0100
commit319b052357f3c6bb2cc6a911f1f7e7ce82e2b85c (patch)
treea85884f2e2410c5065ad1e22b78af4f2758aa5e7 /src/libstd
parent8cee487eb305a9ce1cdd7c6f7875c32be02da194 (diff)
downloadrust-319b052357f3c6bb2cc6a911f1f7e7ce82e2b85c.tar.gz
rust-319b052357f3c6bb2cc6a911f1f7e7ce82e2b85c.zip
Fix stage 2 tests
Diffstat (limited to 'src/libstd')
-rw-r--r--src/libstd/lib.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstd/lib.rs b/src/libstd/lib.rs
index 4f462658eb6..444bbe15e11 100644
--- a/src/libstd/lib.rs
+++ b/src/libstd/lib.rs
@@ -232,6 +232,7 @@
 
 // std is implemented with unstable features, many of which are internal
 // compiler details that will never be stable
+#![cfg_attr(test, feature(test, update_panic_count))]
 #![feature(alloc)]
 #![feature(alloc_error_handler)]
 #![feature(alloc_system)]
@@ -302,7 +303,6 @@
 #![feature(doc_cfg)]
 #![feature(doc_masked)]
 #![feature(doc_spotlight)]
-#![cfg_attr(test, feature(update_panic_count))]
 #![cfg_attr(windows, feature(used))]
 #![feature(doc_alias)]
 #![feature(doc_keyword)]