pub fn check_attribute(attr: &Attribute, sess: &Session, features: &Features)