Remove unused derives
This commit is contained in:
parent
fff5ef68b0
commit
d247ac4c0d
2 changed files with 2 additions and 2 deletions
|
|
@ -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),
|
||||
|
|
|
|||
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue