pub fn get_clippy_attr( tcx: TyCtxt<'_>, did: impl Into<DefId>, name: Symbol, ) -> Option<&AttrItem>
Returns the first occurrence of #[clippy::<name>].
#[clippy::<name>]
Additionally, raises an error for duplicates of this attribute.