Function rustc_trans::lint::gather_attrs
[−]
[src]
pub fn gather_attrs(attrs: &[Attribute])
-> Vec<Result<(Symbol, Level, Span), Span>>
🔬 This is a nightly-only experimental API. (
rustc_private
)Parse the lint attributes into a vector, with Err
s for malformed lint
attributes. Writing this as an iterator is an enormous mess.