rustc_ap_rustc_ast::attr
pub fn filter_by_name( attrs: &[Attribute], name: Symbol) -> impl Iterator<Item = &Attribute>