rustdoc::lint

Static INVALID_RUST_CODEBLOCKS

Source
pub static INVALID_RUST_CODEBLOCKS: &Lint
Expand description

The invalid_rust_codeblocks lint detects Rust code blocks in documentation examples that are invalid (e.g. empty, not parsable as Rust code). This is a rustdoc only lint, see the documentation in the rustdoc book.