mirror of
https://github.com/rust-lang/rust.git
synced 2025-10-04 11:17:04 +00:00

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.