clippy_utils::attrs

Function parse_attrs

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