about summary refs log tree commit diff
path: root/tests/rustdoc-ui/doc-cfg-unstable.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2025-04-17 11:21:54 +0000
committerbors <bors@rust-lang.org>2025-04-17 11:21:54 +0000
commit883f9f72e87ccb6838d528d8158ea6323baacc65 (patch)
tree8252f01daf779855a606cff9433342feddac0004 /tests/rustdoc-ui/doc-cfg-unstable.rs
parent94015d3cd4b48d098abd0f3e44af97dab2b713b4 (diff)
parent7650fe95b1b2f4b030c0de9a06b5bea582f26480 (diff)
downloadrust-883f9f72e87ccb6838d528d8158ea6323baacc65.tar.gz
rust-883f9f72e87ccb6838d528d8158ea6323baacc65.zip
Auto merge of #139949 - matthiaskrgr:rollup-pxc5tsx, r=matthiaskrgr
Rollup of 8 pull requests

Successful merges:

 - #138632 (Stabilize `cfg_boolean_literals`)
 - #139416 (unstable book; document `macro_metavar_expr_concat`)
 - #139782 (Consistent with treating Ctor Call as Struct in liveness analysis)
 - #139885 (document RUSTC_BOOTSTRAP, RUSTC_OVERRIDE_VERSION_STRING, and -Z allow-features in the unstable book)
 - #139904 (Explicitly annotate edition for `unpretty=expanded` and `unpretty=hir` tests)
 - #139932 (transmutability: Refactor tests for simplicity)
 - #139944 (Move eager translation to a method on Diag)
 - #139948 (git: ignore `60600a6fa403216bfd66e04f948b1822f6450af7` for blame purposes)

r? `@ghost`
`@rustbot` modify labels: rollup
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() {}