derive Hash for ra_hir::ModuleDef

This commit is contained in:
pcpthm 2019-03-14 17:25:51 +09:00
parent 9280788b1e
commit adad641c52

View File

@ -69,7 +69,7 @@ pub struct Module {
}
/// The defs which can be visible in the module.
#[derive(Debug, Clone, Copy, PartialEq, Eq)]
#[derive(Debug, Clone, Copy, PartialEq, Eq, Hash)]
pub enum ModuleDef {
Module(Module),
Function(Function),