mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-10-01 22:31:43 +00:00
Rename *Owner
traits to Has*
This commit is contained in:
parent
a28c5d7311
commit
b6ed91a6de
101 changed files with 393 additions and 397 deletions
|
@ -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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue