Function rustc_ast::attr::filter_by_name

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