Skip to content

Commit f230678

Browse files
Rollup merge of #157559 - InvalidPathException:main, r=jieyouxu
chore: Update annotate-snippets to 0.12.16 This PR updates `annotate-snippets` to [`0.12.16`](https://github.com/rust-lang/annotate-snippets-rs/blob/main/CHANGELOG.md#01216---2026-05-06) which fixes highlighting for indented code: rust-lang/annotate-snippets-rs#405 Also fixes #155873 (the same problem)
2 parents 4c76565 + 4e26424 commit f230678

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

Cargo.lock

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -64,9 +64,9 @@ dependencies = [
6464

6565
[[package]]
6666
name = "annotate-snippets"
67-
version = "0.12.15"
67+
version = "0.12.16"
6868
source = "registry+https://github.com/rust-lang/crates.io-index"
69-
checksum = "92570a3f9c98e7e84df84b71d0965ac99b1871fcd75a3773a3bd1bad13f64cf7"
69+
checksum = "f211a51805bc641f3ad5b7664c77d2547af685cc33b4cd8d31964027a46f13f1"
7070
dependencies = [
7171
"anstyle",
7272
"memchr",
@@ -3958,7 +3958,7 @@ dependencies = [
39583958
name = "rustc_errors"
39593959
version = "0.0.0"
39603960
dependencies = [
3961-
"annotate-snippets 0.12.15",
3961+
"annotate-snippets 0.12.16",
39623962
"anstream",
39633963
"anstyle",
39643964
"derive_setters",

compiler/rustc_errors/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ edition = "2024"
55

66
[dependencies]
77
# tidy-alphabetical-start
8-
annotate-snippets = { version = "0.12.15", features = ["simd"] }
8+
annotate-snippets = { version = "0.12.16", features = ["simd"] }
99
anstream = "0.6.20"
1010
anstyle = "1.0.13"
1111
derive_setters = "0.1.6"

0 commit comments

Comments
 (0)