diff options
| author | Vincent Esche <regexident@gmail.com> | 2024-02-27 20:53:29 +0100 |
|---|---|---|
| committer | Vincent Esche <regexident@gmail.com> | 2024-02-27 20:53:29 +0100 |
| commit | c061a9e84e6c61e604afdf341e38da04eca31087 (patch) | |
| tree | 2c25a76072da201ee86f3f93951044849b5eba55 | |
| parent | 0ac05c05271f31c43d31017cbd288e8737a0edb0 (diff) | |
| download | rust-c061a9e84e6c61e604afdf341e38da04eca31087.tar.gz rust-c061a9e84e6c61e604afdf341e38da04eca31087.zip | |
Derive `PartialEq`, `Eq` & `Hash` for `hir::Param`
| -rw-r--r-- | crates/hir/src/lib.rs | 2 |
1 files changed, 1 insertions, 1 deletions
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<hir_ty::Mutability> for Access { } } -#[derive(Clone, Debug)] +#[derive(Clone, PartialEq, Eq, Hash, Debug)] pub struct Param { func: Function, /// The index in parameter list, including self parameter. |
