UNEXPLAINED_IGNORE_DOCTEST_INFO in tidy::style - Rust
Description: API documentation for the Rust `UNEXPLAINED_IGNORE_DOCTEST_INFO` constant in crate `tidy`.

Skip to main content

## UNEXPLAINED_IGNORE_DOCTEST_INFO

# Constant UNEXPLAINED_IGNORE_DOCTEST_INFO

Source

    const UNEXPLAINED_IGNORE_DOCTEST_INFO: &str = r#"unexplained "```ignore" doctest; try one:

    * make the test actually pass, by adding necessary imports and declarations, or
    * use "```text", if the code is not Rust code, or
    * use "```compile_fail,Ennnn", if the code is expected to fail at compile time, or
    * use "```should_panic", if the code is expected to fail at run time, or
    * use "```no_run", if the code should type-check but not necessary linkable/runnable, or
    * explain it like "```ignore (cannot-test-this-because-xxxx)", if the annotation cannot be avoided.

    "#;