mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-28 21:05:02 +00:00
derive Hash for ra_hir::ModuleDef
This commit is contained in:
parent
9280788b1e
commit
adad641c52
1 changed files with 1 additions and 1 deletions
|
@ -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),
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue