aboutsummaryrefslogtreecommitdiff
path: root/crates/hir/src/code_model.rs
diff options
context:
space:
mode:
Diffstat (limited to 'crates/hir/src/code_model.rs')
-rw-r--r--crates/hir/src/code_model.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/crates/hir/src/code_model.rs b/crates/hir/src/code_model.rs
index 5f35d9d3c..a445a97b3 100644
--- a/crates/hir/src/code_model.rs
+++ b/crates/hir/src/code_model.rs
@@ -391,8 +391,9 @@ impl Module {
391 self, 391 self,
392 db: &dyn DefDatabase, 392 db: &dyn DefDatabase,
393 item: impl Into<ItemInNs>, 393 item: impl Into<ItemInNs>,
394 prefix_kind: PrefixKind,
394 ) -> Option<ModPath> { 395 ) -> Option<ModPath> {
395 hir_def::find_path::find_path_prefixed(db, item.into(), self.into(), PrefixKind::Plain) 396 hir_def::find_path::find_path_prefixed(db, item.into(), self.into(), prefix_kind)
396 } 397 }
397} 398}
398 399