derive Hash for ra_hir::ModuleDef
This commit is contained in:
@@ -69,7 +69,7 @@ pub struct Module {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/// The defs which can be visible in the 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 {
|
pub enum ModuleDef {
|
||||||
Module(Module),
|
Module(Module),
|
||||||
Function(Function),
|
Function(Function),
|
||||||
|
|||||||
Reference in New Issue
Block a user