error[E0658]: `cfg(rustdoc)` is experimental and subject to change (see issue #43781) | |
--> $DIR/feature-gate-doc_cfg-cfg-rustdoc.rs:11:7 | |
| | |
LL | #[cfg(rustdoc)] //~ ERROR: `cfg(rustdoc)` is experimental and subject to change | |
| ^^^^^^^ | |
| | |
= help: add #![feature(doc_cfg)] to the crate attributes to enable | |
error: aborting due to previous error | |
For more information about this error, try `rustc --explain E0658`. |