about summary refs log tree commit diff
path: root/tests/rustdoc/doc_auto_cfg.rs
diff options
context:
space:
mode:
authorGuillaume Gomez <guillaume1.gomez@gmail.com>2025-04-11 14:32:31 +0200
committerGuillaume Gomez <guillaume1.gomez@gmail.com>2025-09-27 11:29:49 +0200
commitc06a076634e4feab47e133fe6325af9659bab082 (patch)
treea76922c076d81c95adca4ac6aafe77383a0e9a10 /tests/rustdoc/doc_auto_cfg.rs
parented05315867b7dd17a456beaabc3faf36357f9447 (diff)
downloadrust-c06a076634e4feab47e133fe6325af9659bab082.tar.gz
rust-c06a076634e4feab47e133fe6325af9659bab082.zip
Put back the `doc_cfg` code behind a nightly feature
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'