Fix some FIXMEs

This commit is contained in:
Lukas Wirth 2023-11-11 15:42:09 +01:00
parent ba61766217
commit 74e5444f15
2 changed files with 57 additions and 44 deletions

View file

@ -152,7 +152,7 @@ impl TryFrom<ModuleId> for CrateRootModuleId {
}
}
#[derive(Debug, Clone, Copy, PartialEq, Eq, Hash)]
#[derive(Debug, Clone, Copy, PartialEq, Eq, Hash, PartialOrd, Ord)]
pub struct ModuleId {
krate: CrateId,
/// If this `ModuleId` was derived from a `DefMap` for a block expression, this stores the