about summary refs log tree commit diff
path: root/tests/rustdoc-ui/doc-cfg-unstable.rs
diff options
context:
space:
mode:
authorclubby789 <jamie@hill-daniel.co.uk>2025-03-18 01:01:15 +0000
committerclubby789 <jamie@hill-daniel.co.uk>2025-04-03 18:10:48 +0000
commit984c51f6a1d93fa244829f488d2945e7fc06b880 (patch)
tree896ab18075e3aa3bbab36d23f7fa86c938c2832f /tests/rustdoc-ui/doc-cfg-unstable.rs
parent946aea0b3d9f43e57953ce5094d8e4a2a244ce71 (diff)
downloadrust-984c51f6a1d93fa244829f488d2945e7fc06b880.tar.gz
rust-984c51f6a1d93fa244829f488d2945e7fc06b880.zip
Stabilize `cfg_boolean_literals`
Diffstat (limited to 'tests/rustdoc-ui/doc-cfg-unstable.rs')
-rw-r--r--tests/rustdoc-ui/doc-cfg-unstable.rs4
1 files changed, 0 insertions, 4 deletions
diff --git a/tests/rustdoc-ui/doc-cfg-unstable.rs b/tests/rustdoc-ui/doc-cfg-unstable.rs
index 14c2e83ec85..b77c3654497 100644
--- a/tests/rustdoc-ui/doc-cfg-unstable.rs
+++ b/tests/rustdoc-ui/doc-cfg-unstable.rs
@@ -1,10 +1,6 @@
 // #138113: rustdoc didn't gate unstable predicates inside `doc(cfg(..))`
 #![feature(doc_cfg)]
 
-// `cfg_boolean_literals`
-#[doc(cfg(false))] //~ ERROR `cfg(false)` is experimental and subject to change
-pub fn cfg_boolean_literals() {}
-
 // `cfg_version`
 #[doc(cfg(sanitize = "thread"))] //~ ERROR `cfg(sanitize)` is experimental and subject to change
 pub fn cfg_sanitize() {}