about summary refs log tree commit diff
path: root/src/test/rustdoc/doc-cfg-hide.rs
AgeCommit message (Collapse)AuthorLines
2021-10-05Allow adding a set of cfg's to hide from being implicitly doc(cfg)'dWim Looman-0/+32
By adding #![doc(cfg_hide(foobar))] to the crate attributes the cfg #[cfg(foobar)] (and _only_ that _exact_ cfg) will not be implicitly treated as a doc(cfg) to render a message in the documentation.