syntex_syntax::fold
pub fn fold_attrs<T: Folder>( attrs: Vec<Attribute>, fld: &mut T) -> Vec<Attribute>