derive Hash for ra_hir::ModuleDef
This commit is contained in:
parent
9280788b1e
commit
adad641c52
@ -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),
|
||||
|
Loading…
Reference in New Issue
Block a user