mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-29 05:15:04 +00:00
internal: Bump Dependencies
This commit is contained in:
parent
0cf677ab42
commit
76ae5434fa
51 changed files with 181 additions and 168 deletions
|
@ -1017,7 +1017,7 @@ fn path_element_of_reference(
|
|||
stdx::never!(false, "cannot find token at variable usage: {:?}", reference);
|
||||
None
|
||||
})?;
|
||||
let path = token.ancestors().find_map(ast::Expr::cast).or_else(|| {
|
||||
let path = token.parent_ancestors().find_map(ast::Expr::cast).or_else(|| {
|
||||
stdx::never!(false, "cannot find path parent of variable usage: {:?}", token);
|
||||
None
|
||||
})?;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue