aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_analysis/src/descriptors/module
diff options
context:
space:
mode:
Diffstat (limited to 'crates/ra_analysis/src/descriptors/module')
-rw-r--r--crates/ra_analysis/src/descriptors/module/mod.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/ra_analysis/src/descriptors/module/mod.rs b/crates/ra_analysis/src/descriptors/module/mod.rs
index f5238e239..6890d8b09 100644
--- a/crates/ra_analysis/src/descriptors/module/mod.rs
+++ b/crates/ra_analysis/src/descriptors/module/mod.rs
@@ -133,7 +133,7 @@ impl ModuleDescriptor {
133 Ok(res) 133 Ok(res)
134 } 134 }
135 135
136 pub(crate) fn resolve_path(&self, path: Path) -> Cancelable<Option<ModuleDescriptor>> { 136 pub(crate) fn resolve_path(&self, db: &impl DescriptorDatabase, path: Path) -> Cancelable<Option<ModuleDescriptor>> {
137 let res = match self.do_resolve_path(path) { 137 let res = match self.do_resolve_path(path) {
138 None => return Ok(None), 138 None => return Ok(None),
139 Some(it) => it, 139 Some(it) => it,