diff options
Diffstat (limited to 'crates')
-rw-r--r-- | crates/ra_hir_def/src/nameres.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/ra_hir_def/src/nameres.rs b/crates/ra_hir_def/src/nameres.rs index 98bab1bfe..bd237a7b3 100644 --- a/crates/ra_hir_def/src/nameres.rs +++ b/crates/ra_hir_def/src/nameres.rs | |||
@@ -139,7 +139,7 @@ impl ModuleOrigin { | |||
139 | } | 139 | } |
140 | } | 140 | } |
141 | 141 | ||
142 | pub(crate) fn file_id(&self) -> Option<FileId> { | 142 | pub fn file_id(&self) -> Option<FileId> { |
143 | match self { | 143 | match self { |
144 | ModuleOrigin::File { definition, .. } | ModuleOrigin::CrateRoot { definition } => { | 144 | ModuleOrigin::File { definition, .. } | ModuleOrigin::CrateRoot { definition } => { |
145 | Some(*definition) | 145 | Some(*definition) |