Remove unused Clone derive on DelayedLint

This commit is contained in:
Jonathan Brouwer 2025-11-25 21:16:31 +01:00
parent 140044cffa
commit 7693c0a3d1
No known key found for this signature in database
GPG key ID: 13619B051B673C52

View file

@ -17,19 +17,19 @@ pub struct DelayedLints {
/// and then there's a gap where no lints can be emitted until HIR is done.
/// The variants in this enum represent lints that are temporarily stashed during
/// AST lowering to be emitted once HIR is built.
#[derive(Clone, Debug, HashStable_Generic)]
#[derive(Debug, HashStable_Generic)]
pub enum DelayedLint {
AttributeParsing(AttributeLint<HirId>),
}
#[derive(Clone, Debug, HashStable_Generic)]
#[derive(Debug, HashStable_Generic)]
pub struct AttributeLint<Id> {
pub id: Id,
pub span: Span,
pub kind: AttributeLintKind,
}
#[derive(Clone, Debug, HashStable_Generic)]
#[derive(Debug, HashStable_Generic)]
pub enum AttributeLintKind {
/// Copy of `IllFormedAttributeInput`
/// specifically for the `invalid_macro_export_arguments` lint until that is removed,