From c061a9e84e6c61e604afdf341e38da04eca31087 Mon Sep 17 00:00:00 2001 From: Vincent Esche Date: Tue, 27 Feb 2024 20:53:29 +0100 Subject: [PATCH] Derive `PartialEq`, `Eq` & `Hash` for `hir::Param` --- crates/hir/src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/hir/src/lib.rs b/crates/hir/src/lib.rs index 6f621eb1225..944eca63543 100644 --- a/crates/hir/src/lib.rs +++ b/crates/hir/src/lib.rs @@ -2088,7 +2088,7 @@ impl From for Access { } } -#[derive(Clone, Debug)] +#[derive(Clone, PartialEq, Eq, Hash, Debug)] pub struct Param { func: Function, /// The index in parameter list, including self parameter.