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
The doc_cfg note would appear on the reexported items.
Instead, this happened:
The doc_cfg note does not appear on glob reexported items. If items are reexported individually, the doc_cfg note does apply.
(My actual case has a #[cfg(feature = "raw") on a containing module, and then #[cfg(feature = "lib")] on the glob reexport. The cfg note for raw always appears, but "and lib" only appears for explicitly named items.)
This is likely the same root issue, but is a different expression of the issue; in #83428 the cfg is present for the source item as well, but I'm applying the cfg to just the reëxport.
Activity
CAD97 commentedon Apr 18, 2022
@rustbot label +T-rustdoc
(again, maybe?)
mejrs commentedon Apr 19, 2022
This looks like #83428
CAD97 commentedon Apr 19, 2022
This is likely the same root issue, but is a different expression of the issue; in #83428 the cfg is present for the source item as well, but I'm applying the cfg to just the reëxport.
add nightly feature documentation
feat: add a main crate to provide a clean user API (#160)
Rollup merge of rust-lang#157039 - lcian:fix/glob-reexport-feature-co…
Unrolled build for #157039