diff options
| author | Mazdak Farrokhzad <twingoow@gmail.com> | 2020-01-05 07:30:38 +0100 |
|---|---|---|
| committer | Mazdak Farrokhzad <twingoow@gmail.com> | 2020-01-11 03:19:50 +0100 |
| commit | d247ac4c0d64b278d80296a0dab801238fa3c66b (patch) | |
| tree | f2fedc2187680bac495d463e25cb858193b57ab6 | |
| parent | fff5ef68b0d5c314569a71c7fae136196b14a6bc (diff) | |
| download | rust-d247ac4c0d64b278d80296a0dab801238fa3c66b.tar.gz rust-d247ac4c0d64b278d80296a0dab801238fa3c66b.zip | |
Remove unused derives
| -rw-r--r-- | src/librustc/lint/builtin.rs | 2 | ||||
| -rw-r--r-- | src/librustc/lint/context.rs | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/librustc/lint/builtin.rs b/src/librustc/lint/builtin.rs index f5845dcae12..5dea0dbc896 100644 --- a/src/librustc/lint/builtin.rs +++ b/src/librustc/lint/builtin.rs @@ -516,7 +516,7 @@ declare_lint_pass! { // this could be a closure, but then implementing derive traits // becomes hacky (and it gets allocated) -#[derive(PartialEq, RustcEncodable, RustcDecodable, Debug)] +#[derive(PartialEq)] pub enum BuiltinLintDiagnostics { Normal, BareTraitObject(Span, /* is_global */ bool), diff --git a/src/librustc/lint/context.rs b/src/librustc/lint/context.rs index bd561b41c57..492d8f1f8a5 100644 --- a/src/librustc/lint/context.rs +++ b/src/librustc/lint/context.rs @@ -66,7 +66,7 @@ pub struct LintStore { /// Lints that are buffered up early on in the `Session` before the /// `LintLevels` is calculated -#[derive(PartialEq, Debug)] +#[derive(PartialEq)] pub struct BufferedEarlyLint { pub lint_id: LintId, pub ast_id: ast::NodeId, |
