Static rustc_ap_rustc_lint_defs::builtin::STABLE_FEATURES [−][src]
pub static STABLE_FEATURES: &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.