use rustc_macros::HashStable_Generic; use rustc_span::Span; #[derive(Clone, Debug, HashStable_Generic)] pub struct AttributeLint { pub id: Id, pub span: Span, pub kind: AttributeLintKind, } #[derive(Clone, Debug, HashStable_Generic)] pub enum AttributeLintKind { UnusedDuplicate { this: Span, other: Span, warning: bool }, IllFormedAttributeInput { suggestions: Vec }, }