rustc_lint::builtin

Static STABLE_FEATURES

pub static STABLE_FEATURES: &'static Lint
Expand description

The stable_features lint detects a feature attribute that has since been made stable.

§Example

#![feature(test_accepted_feature)]
fn main() {}

{{produces}}

§Explanation

When a feature is stabilized, it is no longer necessary to include a #![feature] attribute for it. To fix, simply remove the #![feature] attribute.