[−][src]Function syntax::attr::contains_feature_attr
pub fn contains_feature_attr(attrs: &[Attribute], feature_name: Symbol) -> bool
Checks if attrs contains an attribute like #![feature(feature_name)].
This will not perform any "sanity checks" on the form of the attributes.