You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
warning: feature `doc_cfg` is declared but not used
--> src/lib.rs:1:12
|
1 |#![feature(doc_cfg)]| ^^^^^^^
|
= note: `#[warn(unused_features)]` (part of `#[warn(unused)]`) on by default
warning: `scratchpad` (lib) generated 1 warning
Desired output
No warning
Rationale and extra context
The feature modifies rustdoc output regardless of whether #[doc(cfg)] is explicitly used in the source code, so it is not unused.
Activity
Ko496-glitch commentedon Mar 29, 2026
@kpreid hey can i work on this, I am starting to work on diagnostic issues so i can get use to rust env and clippy
kpreid commentedon Mar 29, 2026
You don’t need my permission or recommendation to work on this issue.
mu001999 commentedon Mar 30, 2026
Seems
doc_cfgis only checked in librustdocRollup merge of rust-lang#155230 - TaKO8Ki:fix-unused-features-doc-cf…
Unrolled build for #155230