Function rustc::lint::gather_attrsUnstable [-] [+] [src]

pub fn gather_attrs(attrs: &[Attribute]) -> Vec<Result<(InternedString, Level, Span), Span>>

Parse the lint attributes into a vector, with Errs for malformed lint attributes. Writing this as an iterator is an enormous mess.