fn check_duplicates( tcx: TyCtxt<'_>, attr_span: Span, attr: &Attribute, hir_id: HirId, duplicates: AttributeDuplicates, seen: &mut FxHashMap<Symbol, Span>, )