New lint: [derive_partial_eq_without_eq]

This commit is contained in:
nsunderland1 2022-05-06 00:10:11 -07:00
parent 77effb7bb2
commit fe84ff3360
29 changed files with 359 additions and 38 deletions

View file

@ -1,7 +1,7 @@
use rustc_ast::ast::{Lit, LitFloatType, LitIntType, LitKind};
use std::iter;
#[derive(Debug, PartialEq, Copy, Clone)]
#[derive(Debug, PartialEq, Eq, Copy, Clone)]
pub enum Radix {
Binary,
Octal,