Unnamed repository; edit this file 'description' to name the repository.
Diffstat (limited to 'crates/ide_ssr/src/matching.rs')
| -rw-r--r-- | crates/ide_ssr/src/matching.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/crates/ide_ssr/src/matching.rs b/crates/ide_ssr/src/matching.rs index 6812947218..88c1d80608 100644 --- a/crates/ide_ssr/src/matching.rs +++ b/crates/ide_ssr/src/matching.rs @@ -527,7 +527,7 @@ impl<'db, 'sema> Matcher<'db, 'sema> { pattern_ufcs: &UfcsCallInfo, code: &ast::MethodCallExpr, ) -> Result<(), MatchFailed> { - use ast::ArgListOwner; + use ast::HasArgList; let code_resolved_function = self .sema .resolve_method_call(code) @@ -587,7 +587,7 @@ impl<'db, 'sema> Matcher<'db, 'sema> { pattern_ufcs: &UfcsCallInfo, code: &ast::CallExpr, ) -> Result<(), MatchFailed> { - use ast::ArgListOwner; + use ast::HasArgList; // Check that the first argument is the expected type. if let (Some(pattern_type), Some(expr)) = ( &pattern_ufcs.qualifier_type, |