about summary refs log tree commit diff
path: root/tests/rustdoc/doc_auto_cfg.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/rustdoc/doc_auto_cfg.rs')
-rw-r--r--tests/rustdoc/doc_auto_cfg.rs5
1 files changed, 1 insertions, 4 deletions
diff --git a/tests/rustdoc/doc_auto_cfg.rs b/tests/rustdoc/doc_auto_cfg.rs
index cb7c0e3f595..19ef174c177 100644
--- a/tests/rustdoc/doc_auto_cfg.rs
+++ b/tests/rustdoc/doc_auto_cfg.rs
@@ -1,10 +1,7 @@
 // Test covering RFC 3631 features.
 
 #![crate_name = "foo"]
-#![feature(no_core)]
-#![no_core]
-#![no_std]
-
+#![feature(doc_cfg)]
 #![doc(auto_cfg(hide(feature = "hidden")))]
 
 //@ has 'foo/index.html'