clippy: Enable derived_hash_with_manual_eq
rule
This commit is contained in:
parent
adddd14afb
commit
d45cabd029
@ -169,7 +169,6 @@ useless_asref = "allow"
|
||||
|
||||
## Following lints should be tackled at some point
|
||||
borrowed_box = "allow"
|
||||
derived_hash_with_manual_eq = "allow"
|
||||
too_many_arguments = "allow"
|
||||
type_complexity = "allow"
|
||||
wrong_self_convention = "allow"
|
||||
|
@ -721,6 +721,9 @@ impl Clone for Box<dyn OpaqueInternableThing> {
|
||||
pub struct InTypeConstId(salsa::InternId);
|
||||
impl_intern!(InTypeConstId, InTypeConstLoc, intern_in_type_const, lookup_intern_in_type_const);
|
||||
|
||||
// We would like to set `derive(PartialEq)`
|
||||
// but the compiler complains about that `.expected_ty` does not implement the `Copy` trait.
|
||||
#[allow(clippy::derived_hash_with_manual_eq)]
|
||||
#[derive(Debug, Hash, Eq, Clone)]
|
||||
pub struct InTypeConstLoc {
|
||||
pub id: AstId<ast::ConstArg>,
|
||||
|
Loading…
x
Reference in New Issue
Block a user