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

@ -13,12 +13,12 @@ doctest = false
[dependencies]
cov-mark = "2.0.0-pre.1"
itertools = "0.10.3"
rowan = "0.15.4"
rowan = "0.15.5"
rustc_lexer = { version = "725.0.0", package = "rustc-ap-rustc_lexer" }
rustc-hash = "1.1.0"
once_cell = "1.10.0"
indexmap = "1.8.0"
smol_str = "0.1.21"
once_cell = "1.12.0"
indexmap = "1.8.2"
smol_str = "0.1.23"
stdx = { path = "../stdx", version = "0.0.0" }
text-edit = { path = "../text-edit", version = "0.0.0" }
@ -26,10 +26,10 @@ parser = { path = "../parser", version = "0.0.0" }
profile = { path = "../profile", version = "0.0.0" }
[dev-dependencies]
rayon = "1.5.1"
expect-test = "1.2.2"
proc-macro2 = "1.0.36"
quote = "1.0.16"
rayon = "1.5.3"
expect-test = "1.3.0"
proc-macro2 = "1.0.39"
quote = "1.0.18"
ungrammar = "1.16.1"
test-utils = { path = "../test-utils" }

View file

@ -22,7 +22,7 @@ pub fn ancestors_at_offset(
offset: TextSize,
) -> impl Iterator<Item = SyntaxNode> {
node.token_at_offset(offset)
.map(|token| token.ancestors())
.map(|token| token.parent_ancestors())
.kmerge_by(|node1, node2| node1.text_range().len() < node2.text_range().len())
}