Derive PartialEq, Eq & Hash for hir::Param

This commit is contained in:
Vincent Esche 2024-02-27 20:53:29 +01:00
parent 0ac05c0527
commit c061a9e84e

View File

@ -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.