clippy_utils::attrs

Function parse_attrs

source
fn parse_attrs<F: FnMut(u64)>(
    sess: &Session,
    attrs: &[Attribute],
    name: &'static str,
    f: F,
)