about summary refs log tree commit diff
path: root/src/libstd
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2018-09-11 08:54:11 +0000
committerbors <bors@rust-lang.org>2018-09-11 08:54:11 +0000
commit7ee72070bdb789f58f272fab50d49bd48dd9c11f (patch)
tree40074abd149490bdbfe0592f4e9e2c4c27b6ace5 /src/libstd
parent1f02f23263ff03d7f590f19d31741c5d6b08b44f (diff)
parentd37658afbda2a74f35e0d3fb479fcb6985bb9e53 (diff)
downloadrust-7ee72070bdb789f58f272fab50d49bd48dd9c11f.tar.gz
rust-7ee72070bdb789f58f272fab50d49bd48dd9c11f.zip
Auto merge of #51363 - japaric:stable-used, r=cramertj
stabilize #[used]

closes #40289

RFC for stabilization: rust-lang/rfcs#2386

r? @Centril

Where should this be documented? Currently the documentation is in the unstable book
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 4278926b042..5c9e88dc57c 100644
--- a/src/libstd/lib.rs
+++ b/src/libstd/lib.rs
@@ -307,7 +307,7 @@
 #![feature(doc_cfg)]
 #![feature(doc_masked)]
 #![feature(doc_spotlight)]
-#![cfg_attr(windows, feature(used))]
+#![cfg_attr(all(windows, stage0), feature(used))]
 #![feature(doc_alias)]
 #![feature(doc_keyword)]
 #![feature(panic_info_message)]