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.rs6
1 files changed, 1 insertions, 5 deletions
diff --git a/crates/ra_analysis/src/descriptors/module/mod.rs b/crates/ra_analysis/src/descriptors/module/mod.rs
index aab792e28..047454cff 100644
--- a/crates/ra_analysis/src/descriptors/module/mod.rs
+++ b/crates/ra_analysis/src/descriptors/module/mod.rs
@@ -213,11 +213,7 @@ impl ModuleId {
213 .find(|it| it.name == name)?; 213 .find(|it| it.name == name)?;
214 Some(*link.points_to.first()?) 214 Some(*link.points_to.first()?)
215 } 215 }
216 fn problems( 216 fn problems(self, tree: &ModuleTree, db: &impl SyntaxDatabase) -> Vec<(SyntaxNode, Problem)> {
217 self,
218 tree: &ModuleTree,
219 db: &impl SyntaxDatabase,
220 ) -> Vec<(SyntaxNode, Problem)> {
221 tree.module(self) 217 tree.module(self)
222 .children 218 .children
223 .iter() 219 .iter()