Remove doc_auto_cfg feature as well

This commit is contained in:
Guillaume Gomez 2025-09-26 14:46:04 +02:00
parent 9362ab549f
commit 6cccea8731
5 changed files with 4 additions and 5 deletions

View file

@ -101,6 +101,8 @@ declare_features! (
Some("never properly implemented; requires significant design work"), 127655),
/// Allows deriving traits as per `SmartPointer` specification
(removed, derive_smart_pointer, "1.84.0", Some(123430), Some("replaced by `CoercePointee`"), 131284),
/// Tells rustdoc to automatically generate `#[doc(cfg(...))]`.
(removed, doc_auto_cfg, "1.58.0", Some(43781), Some("merged into `doc_cfg`"), 138907),
/// Allows `#[doc(cfg_hide(...))]`.
(removed, doc_cfg_hide, "1.57.0", Some(43781), Some("merged into `doc_cfg`"), 138907),
/// Allows using `#[doc(keyword = "...")]`.

View file

@ -472,8 +472,6 @@ declare_features! (
(incomplete, deref_patterns, "1.79.0", Some(87121)),
/// Allows deriving the From trait on single-field structs.
(unstable, derive_from, "1.91.0", Some(144889)),
/// Tells rustdoc to automatically generate `#[doc(cfg(...))]`.
(unstable, doc_auto_cfg, "1.58.0", Some(43781)),
/// Allows `#[doc(cfg(...))]`.
(unstable, doc_cfg, "1.21.0", Some(43781)),
/// Allows `#[doc(masked)]`.

View file

@ -1,7 +1,6 @@
// ignore-tidy-linelength
#![feature(doc_cfg)]
#![feature(doc_auto_cfg)]
pub mod another_folder;
pub mod another_mod;

View file

@ -1,5 +1,5 @@
#![crate_name = "funambulism"]
#![feature(doc_auto_cfg, doc_cfg)]
#![feature(doc_cfg)]
//@ has 'funambulism/struct.Disorbed.html'
//@ count - '//*[@class="stab portability"]' 1

View file

@ -2,7 +2,7 @@
// include `cfg`s from the previous chained items.
#![crate_name = "foo"]
#![feature(doc_auto_cfg, doc_cfg)]
#![feature(doc_cfg)]
mod foo {
#[cfg(not(feature = "foo"))]