diff options
Diffstat (limited to 'crates/ra_assists/src')
-rw-r--r-- | crates/ra_assists/src/add_missing_impl_members.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/crates/ra_assists/src/add_missing_impl_members.rs b/crates/ra_assists/src/add_missing_impl_members.rs index 04b3f3c76..104a4d78a 100644 --- a/crates/ra_assists/src/add_missing_impl_members.rs +++ b/crates/ra_assists/src/add_missing_impl_members.rs | |||
@@ -45,9 +45,9 @@ fn add_missing_impl_members_inner( | |||
45 | let trait_def = { | 45 | let trait_def = { |
46 | let file_id = ctx.frange.file_id; | 46 | let file_id = ctx.frange.file_id; |
47 | let position = FilePosition { file_id, offset: impl_node.syntax().range().start() }; | 47 | let position = FilePosition { file_id, offset: impl_node.syntax().range().start() }; |
48 | let analyser = hir::SourceAnalyzer::new(ctx.db, position.file_id, impl_node.syntax()); | 48 | let analyzer = hir::SourceAnalyzer::new(ctx.db, position.file_id, impl_node.syntax()); |
49 | 49 | ||
50 | resolve_target_trait_def(ctx.db, &analyser, impl_node)? | 50 | resolve_target_trait_def(ctx.db, &analyzer, impl_node)? |
51 | }; | 51 | }; |
52 | 52 | ||
53 | let missing_fns: Vec<_> = { | 53 | let missing_fns: Vec<_> = { |