mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-10-03 07:04:49 +00:00
no PathExpr arm
This commit is contained in:
parent
8c0b848694
commit
771c87f890
1 changed files with 1 additions and 2 deletions
|
@ -172,8 +172,7 @@ fn get_receiver(expression: ast::Expr) -> Option<ast::Expr> {
|
|||
let nested_expression = &field.expr()?;
|
||||
get_receiver(nested_expression.to_owned())
|
||||
}
|
||||
ast::Expr::PathExpr(_) => Some(expression),
|
||||
_ => None,
|
||||
_ => Some(expression),
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue