Function rustc::lint::gather_attrs  
                   
                       [−]
                   
               [src]
pub fn gather_attrs(attrs: &[Attribute]) -> Vec<Result<(InternedString, Level, Span), Span>>
Unstable (
rustc_private)Parse the lint attributes into a vector, with Errs for malformed lint
attributes. Writing this as an iterator is an enormous mess.