internal: Bump Dependencies

This commit is contained in:
Lukas Wirth 2022-06-10 16:30:09 +02:00
parent 0cf677ab42
commit 76ae5434fa
51 changed files with 181 additions and 168 deletions

View file

@ -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
})?;