Skip to content

Commit 5797532

Browse files
Clean up rustc-literal-escaper usage in rust-analyzer
1 parent 017e99b commit 5797532

File tree

4 files changed

+3
-5
lines changed

4 files changed

+3
-5
lines changed

src/tools/rust-analyzer/Cargo.lock

-1
Original file line numberDiff line numberDiff line change
@@ -1985,7 +1985,6 @@ dependencies = [
19851985
"indexmap",
19861986
"itertools",
19871987
"parser",
1988-
"ra-ap-rustc_lexer",
19891988
"rayon",
19901989
"rowan",
19911990
"rustc-hash 2.0.0",

src/tools/rust-analyzer/Cargo.toml

+1
Original file line numberDiff line numberDiff line change
@@ -136,6 +136,7 @@ pulldown-cmark-to-cmark = "10.0.4"
136136
pulldown-cmark = { version = "0.9.0", default-features = false }
137137
rayon = "1.8.0"
138138
rustc-hash = "2.0.0"
139+
rustc-literal-escaper = "0.0.2"
139140
semver = "1.0.14"
140141
serde = { version = "1.0.192" }
141142
serde_derive = { version = "1.0.192" }

src/tools/rust-analyzer/crates/parser/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ rust-version.workspace = true
1414
[dependencies]
1515
drop_bomb = "0.1.5"
1616
ra-ap-rustc_lexer.workspace = true
17-
rustc-literal-escaper = "0.0.2"
17+
rustc-literal-escaper.workspace = true
1818
tracing = { workspace = true, optional = true }
1919

2020
edition.workspace = true

src/tools/rust-analyzer/crates/syntax/Cargo.toml

+1-3
Original file line numberDiff line numberDiff line change
@@ -17,14 +17,12 @@ either.workspace = true
1717
itertools.workspace = true
1818
rowan = "=0.15.15"
1919
rustc-hash.workspace = true
20-
rustc-literal-escaper = "0.0.2"
20+
rustc-literal-escaper.workspace = true
2121
indexmap.workspace = true
2222
smol_str.workspace = true
2323
triomphe.workspace = true
2424
tracing.workspace = true
2525

26-
ra-ap-rustc_lexer.workspace = true
27-
2826
parser.workspace = true
2927
stdx.workspace = true
3028

0 commit comments

Comments
 (0)