Derive PartialEq
, Eq
& Hash
for hir::Param
This commit is contained in:
parent
0ac05c0527
commit
c061a9e84e
1 changed files with 1 additions and 1 deletions
|
@ -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.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue