mirror of
https://github.com/rust-lang/rust.git
synced 2025-02-20 02:43:45 +00:00
Derive PartialEq
, Eq
& Hash
for hir::Param
This commit is contained in:
parent
0ac05c0527
commit
c061a9e84e
@ -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…
Reference in New Issue
Block a user