syntex_syntax::feature_gate
pub fn check_attribute(attr: &Attribute, handler: &Handler, cm: &CodeMap, features: &Features)