rustc_lint::builtin

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

#![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.