Skip to content

Commit d247ac4

Browse files
committed
Remove unused derives
1 parent fff5ef6 commit d247ac4

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/librustc/lint/builtin.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -516,7 +516,7 @@ declare_lint_pass! {
516516

517517
// this could be a closure, but then implementing derive traits
518518
// becomes hacky (and it gets allocated)
519-
#[derive(PartialEq, RustcEncodable, RustcDecodable, Debug)]
519+
#[derive(PartialEq)]
520520
pub enum BuiltinLintDiagnostics {
521521
Normal,
522522
BareTraitObject(Span, /* is_global */ bool),

src/librustc/lint/context.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ pub struct LintStore {
6666

6767
/// Lints that are buffered up early on in the `Session` before the
6868
/// `LintLevels` is calculated
69-
#[derive(PartialEq, Debug)]
69+
#[derive(PartialEq)]
7070
pub struct BufferedEarlyLint {
7171
pub lint_id: LintId,
7272
pub ast_id: ast::NodeId,

0 commit comments

Comments
 (0)