fn get_features(sess: &Session, krate_attrs: &[Attribute]) -> Features