Remove unused derives

This commit is contained in:
Mazdak Farrokhzad 2020-01-05 07:30:38 +01:00
parent fff5ef68b0
commit d247ac4c0d
2 changed files with 2 additions and 2 deletions

View File

@ -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),

View File

@ -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,