Skip to content

Commit 2135a01

Browse files
Clean up rustc-literal-escaper usage in rust-analyzer
1 parent 80cb724 commit 2135a01

File tree

4 files changed

+3
-5
lines changed

4 files changed

+3
-5
lines changed

Cargo.lock

Lines changed: 0 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 0 deletions
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" }

crates/parser/Cargo.toml

Lines changed: 1 addition & 1 deletion
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

crates/syntax/Cargo.toml

Lines changed: 1 addition & 3 deletions
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)