Rollup merge of #150809 - update-literal-escaper, r=Urgau

Update `literal-escaper` version to `0.0.7`

It removes the `std` dependency for this crate (which doesn't change anything for rustc 😄 ).

cc @bjorn3
r? @Urgau
This commit is contained in:
Matthias Krüger 2026-01-08 22:21:21 +01:00 committed by GitHub
commit 74ab9a4784
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
9 changed files with 11 additions and 12 deletions

View file

@ -3412,9 +3412,9 @@ checksum = "357703d41365b4b27c590e3ed91eabb1b663f07c4c084095e60cbed4362dff0d"
[[package]]
name = "rustc-literal-escaper"
version = "0.0.5"
version = "0.0.7"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "e4ee29da77c5a54f42697493cd4c9b9f31b74df666a6c04dfc4fde77abe0438b"
checksum = "8be87abb9e40db7466e0681dc8ecd9dcfd40360cb10b4c8fe24a7c4c3669b198"
[[package]]
name = "rustc-main"

View file

@ -7,7 +7,7 @@ edition = "2024"
# tidy-alphabetical-start
bitflags = "2.4.1"
memchr = "2.7.6"
rustc-literal-escaper = "0.0.5"
rustc-literal-escaper = "0.0.7"
rustc_ast_ir = { path = "../rustc_ast_ir" }
rustc_data_structures = { path = "../rustc_data_structures" }
rustc_index = { path = "../rustc_index" }

View file

@ -6,7 +6,7 @@ edition = "2024"
[dependencies]
# tidy-alphabetical-start
bitflags = "2.4.1"
rustc-literal-escaper = "0.0.5"
rustc-literal-escaper = "0.0.7"
rustc_ast = { path = "../rustc_ast" }
rustc_ast_pretty = { path = "../rustc_ast_pretty" }
rustc_data_structures = { path = "../rustc_data_structures" }

View file

@ -5,7 +5,7 @@ edition = "2024"
[dependencies]
# tidy-alphabetical-start
rustc-literal-escaper = "0.0.5"
rustc-literal-escaper = "0.0.7"
rustc_lexer = { path = "../rustc_lexer" }
# tidy-alphabetical-end

View file

@ -16,7 +16,7 @@ doctest = false
[dependencies]
# tidy-alphabetical-start
rustc-literal-escaper = "0.0.5"
rustc-literal-escaper = "0.0.7"
# tidy-alphabetical-end
[features]

View file

@ -283,12 +283,11 @@ dependencies = [
[[package]]
name = "rustc-literal-escaper"
version = "0.0.5"
version = "0.0.7"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "e4ee29da77c5a54f42697493cd4c9b9f31b74df666a6c04dfc4fde77abe0438b"
checksum = "8be87abb9e40db7466e0681dc8ecd9dcfd40360cb10b4c8fe24a7c4c3669b198"
dependencies = [
"rustc-std-workspace-core",
"rustc-std-workspace-std",
]
[[package]]

View file

@ -9,7 +9,7 @@ std = { path = "../std" }
# `core` when resolving doc links. Without this line a different `core` will be
# loaded from sysroot causing duplicate lang items and other similar errors.
core = { path = "../core" }
rustc-literal-escaper = { version = "0.0.5", features = ["rustc-dep-of-std"] }
rustc-literal-escaper = { version = "0.0.7", features = ["rustc-dep-of-std"] }
[features]
default = ["rustc-dep-of-std"]

View file

@ -10,7 +10,7 @@ clap = { version = "4.4", features = ["derive"] }
indoc = "1.0"
itertools = "0.12"
opener = "0.7"
rustc-literal-escaper = "0.0.5"
rustc-literal-escaper = "0.0.7"
walkdir = "2.3"
[package.metadata.rust-analyzer]

View file

@ -7,7 +7,7 @@ description = "A script to extract the lint documentation for the rustc book."
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
rustc-literal-escaper = "0.0.5"
rustc-literal-escaper = "0.0.7"
serde_json = "1.0.57"
tempfile = "3.1.0"
walkdir = "2.3.1"