Function rustc_ast::attr::find_by_name

source ·
pub fn find_by_name(attrs: &[Attribute], name: Symbol) -> Option<&Attribute>