Skip to content

Commit 14860cf

Browse files
authored
Unrolled build for #149326
Rollup merge of #149326 - JonathanBrouwer:remove_clone, r=lcnr Remove unused `Clone` derive on `DelayedLint`
2 parents c797096 + 7693c0a commit 14860cf

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

compiler/rustc_hir/src/lints.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,19 +17,19 @@ pub struct DelayedLints {
1717
/// and then there's a gap where no lints can be emitted until HIR is done.
1818
/// The variants in this enum represent lints that are temporarily stashed during
1919
/// AST lowering to be emitted once HIR is built.
20-
#[derive(Clone, Debug, HashStable_Generic)]
20+
#[derive(Debug, HashStable_Generic)]
2121
pub enum DelayedLint {
2222
AttributeParsing(AttributeLint<HirId>),
2323
}
2424

25-
#[derive(Clone, Debug, HashStable_Generic)]
25+
#[derive(Debug, HashStable_Generic)]
2626
pub struct AttributeLint<Id> {
2727
pub id: Id,
2828
pub span: Span,
2929
pub kind: AttributeLintKind,
3030
}
3131

32-
#[derive(Clone, Debug, HashStable_Generic)]
32+
#[derive(Debug, HashStable_Generic)]
3333
pub enum AttributeLintKind {
3434
/// Copy of `IllFormedAttributeInput`
3535
/// specifically for the `invalid_macro_export_arguments` lint until that is removed,

0 commit comments

Comments
 (0)