Simplify BodyId hashing.

This commit is contained in:
Camille GILLOT
2024-01-16 23:23:31 +00:00
parent 20a8a23cb3
commit d59968b5f6
7 changed files with 6 additions and 69 deletions

View File

@@ -1302,7 +1302,7 @@ pub enum UnsafeSource {
UserProvided,
}
#[derive(Copy, Clone, PartialEq, Eq, Hash, Debug)]
#[derive(Copy, Clone, PartialEq, Eq, Hash, Debug, HashStable_Generic)]
pub struct BodyId {
pub hir_id: HirId,
}