Function clippy_utils::attrs::get_unique_attr
source · pub fn get_unique_attr<'a>(
sess: &'a Session,
attrs: &'a [Attribute],
name: &'static str
) -> Option<&'a Attribute>
pub fn get_unique_attr<'a>(
sess: &'a Session,
attrs: &'a [Attribute],
name: &'static str
) -> Option<&'a Attribute>