## TEST_UNSTABLE_LINT

# Static TEST_UNSTABLE_LINT

Source

    pub static TEST_UNSTABLE_LINT: &'static Lint

Expand description

The `test_unstable_lint` lint tests unstable lints and is perma-unstable.

#### §Example

    // This lint is intentionally used to test the compiler's behavior
    // when an unstable lint is enabled without the corresponding feature gate.
    #![allow(test_unstable_lint)]

{{produces}}

#### §Explanation

In order to test the behavior of unstable lints, a permanently-unstable lint is required. This lint can be used to trigger warnings and errors from the compiler related to unstable lints.