Function clippy_utils::has_attr

source ยท
pub fn has_attr(attrs: &[Attribute], symbol: Symbol) -> bool