pub static DUPLICATE_FEATURES: &'static LintExpand description
The duplicate_features lint detects duplicate features found in
crate-level feature attributes.
Note: This lint used to be a hard error (E0636).
§Example
ⓘ
#![feature(rustc_attrs)]
#![feature(rustc_attrs)]{{produces}}
§Explanation
Enabling a feature more than once is a no-op.
To avoid this warning, remove the second feature() attribute.