diff options
Diffstat (limited to 'crates/ra_assists/src/ast_transform.rs')
-rw-r--r-- | crates/ra_assists/src/ast_transform.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/ra_assists/src/ast_transform.rs b/crates/ra_assists/src/ast_transform.rs index 45558c448..34c816f16 100644 --- a/crates/ra_assists/src/ast_transform.rs +++ b/crates/ra_assists/src/ast_transform.rs | |||
@@ -129,7 +129,7 @@ impl<'a> QualifyPaths<'a> { | |||
129 | let resolution = self.source_scope.resolve_hir_path(&hir_path?)?; | 129 | let resolution = self.source_scope.resolve_hir_path(&hir_path?)?; |
130 | match resolution { | 130 | match resolution { |
131 | PathResolution::Def(def) => { | 131 | PathResolution::Def(def) => { |
132 | let found_path = from.find_use_path(self.source_scope.db, def)?; | 132 | let found_path = from.find_use_path(self.source_scope.db, def.into())?; |
133 | let mut path = path_to_ast(found_path); | 133 | let mut path = path_to_ast(found_path); |
134 | 134 | ||
135 | let type_args = p | 135 | let type_args = p |