Skip to content

Commit f60140e

Browse files
committed
chore: Update annotate-snippets to 0.12.18
1 parent ee8268e commit f60140e

48 files changed

Lines changed: 199 additions & 202 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

‎Cargo.lock‎

Lines changed: 5 additions & 5 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.16"
67+
version = "0.12.18"
6868
source = "registry+https://github.com/rust-lang/crates.io-index"
69-
checksum = "f211a51805bc641f3ad5b7664c77d2547af685cc33b4cd8d31964027a46f13f1"
69+
checksum = "0258346f92c78dbc5b336b9a5b27c64447aa10643bc64e651db2edb145361564"
7070
dependencies = [
7171
"anstyle",
7272
"memchr",
@@ -680,7 +680,7 @@ dependencies = [
680680
name = "clippy-dev"
681681
version = "0.0.1"
682682
dependencies = [
683-
"annotate-snippets 0.12.16",
683+
"annotate-snippets 0.12.18",
684684
"anstream 0.6.21",
685685
"chrono",
686686
"clap",
@@ -4041,7 +4041,7 @@ dependencies = [
40414041
name = "rustc_errors"
40424042
version = "0.0.0"
40434043
dependencies = [
4044-
"annotate-snippets 0.12.16",
4044+
"annotate-snippets 0.12.18",
40454045
"anstream 0.6.21",
40464046
"anstyle",
40474047
"derive_setters",
@@ -5179,7 +5179,7 @@ dependencies = [
51795179
name = "rustfmt-nightly"
51805180
version = "1.12.0"
51815181
dependencies = [
5182-
"annotate-snippets 0.12.16",
5182+
"annotate-snippets 0.12.18",
51835183
"anyhow",
51845184
"bytecount",
51855185
"cargo_metadata 0.23.1",

‎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.16", features = ["simd"] }
8+
annotate-snippets = { version = "0.12.18", features = ["simd"] }
99
anstream = "0.6.20"
1010
anstyle = "1.0.13"
1111
derive_setters = "0.1.6"

‎compiler/rustc_errors/src/annotate_snippet_emitter_writer.rs‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -540,7 +540,7 @@ impl AnnotateSnippetEmitter {
540540
ColorChoice::Never => Renderer::plain(),
541541
}
542542
.term_width(width)
543-
.anonymized_line_numbers(self.ui_testing)
543+
.anonymized_snippet_line_numbers(self.ui_testing)
544544
.decor_style(decor_style)
545545
.short_message(self.short_message)
546546
}

‎compiler/rustc_parse/src/parser/tests.rs‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -309,7 +309,7 @@ error: foo
309309
│
310310
2 │ fn foo() {
311311
│ ┏━━━━━━━━━━┛
312-
‡ ┃
312+
┆ ┇
313313
5 │ ┃ }
314314
╰╴┗━━━┛ test
315315
@@ -2126,7 +2126,7 @@ error: foo
21262126
5 │ │ 1
21272127
6 │ │ 2
21282128
7 │ │ 3
2129-
‡ │
2129+
┆ ┆
21302130
15 │ │ X2 Y2 Z2
21312131
16 │ │ X3 Y3 Z3
21322132
╰╴ └──────────┘ `Y` is a good letter too
@@ -2207,7 +2207,7 @@ error: foo
22072207
10 │ ┃│ 6
22082208
11 │ ┃│ X2 Y2 Z2
22092209
│ ┃└──────────┘ `Z` is a good letter too
2210-
‡ ┃
2210+
┆ ┇
22112211
15 │ ┃ 10
22122212
16 │ ┃ X3 Y3 Z3
22132213
╰╴┗━━━━━━━━┛ `Y` is a good letter

‎tests/run-make/jobserver-error/cannot_open_fd.stderr‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
warning: failed to connect to jobserver from environment variable `MAKEFLAGS="--jobserver-auth=1000,1000"`: cannot open file descriptor 1000 from the jobserver environment variable value: Bad file descriptor (os error 9)
2-
|
3-
= note: the build environment is likely misconfigured
2+
|
3+
= note: the build environment is likely misconfigured
44

55
error: no input filename given
66

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
warning: failed to connect to jobserver from environment variable `MAKEFLAGS="--jobserver-auth=3,3"`: file descriptor 3 from the jobserver environment variable value is not a pipe
2-
|
3-
= note: the build environment is likely misconfigured
2+
|
3+
= note: the build environment is likely misconfigured
44

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
error: linker stderr: bar
2-
|
3-
= note: requested on the command line with `-D linker-messages`
2+
|
3+
= note: requested on the command line with `-D linker-messages`
44

55
error: aborting due to 1 previous error
66

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
warning: linker stderr: bar
2-
|
3-
= note: requested on the command line with `-W linker-messages`
4-
= note: the `linker_messages` lint ignores `-D warnings`
2+
|
3+
= note: requested on the command line with `-W linker-messages`
4+
= note: the `linker_messages` lint ignores `-D warnings`
55

66
warning: 1 warning emitted
77

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
error: linking with `./fake-linker` failed: exit status: 1
2-
|
3-
= note: "./fake-linker" "-m64" "/symbols.o" "<2 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/build-root/test/run-make/linker-warning/rmake_out/{libfoo,libbar}.rlib" "<sysroot>/lib/rustlib/x86_64-unknown-linux-gnu/lib/{libstd-*,libpanic_unwind-*,libobject-*,libmemchr-*,libaddr2line-*,libgimli-*,libcfg_if-*,librustc_demangle-*,libstd_detect-*,libhashbrown-*,librustc_std_workspace_alloc-*,libminiz_oxide-*,libadler2-*,libunwind-*,liblibc-*,librustc_std_workspace_core-*,liballoc-*,libcore-*,libcompiler_builtins-*}.rlib" "-Wl,-Bdynamic" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-L" "/raw-dylibs" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-L" "/build-root/test/run-make/linker-warning/rmake_out" "-L" "<sysroot>/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "main" "-Wl,--gc-sections" "-pie" "-Wl,-z,relro,-z,now" "-nodefaultlibs" "run_make_error"
4-
= note: some arguments are omitted. use `--verbose` to show all linker arguments
5-
= note: error: baz
6-
2+
|
3+
= note: "./fake-linker" "-m64" "/symbols.o" "<2 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/build-root/test/run-make/linker-warning/rmake_out/{libfoo,libbar}.rlib" "<sysroot>/lib/rustlib/x86_64-unknown-linux-gnu/lib/{libstd-*,libpanic_unwind-*,libobject-*,libmemchr-*,libaddr2line-*,libgimli-*,libcfg_if-*,librustc_demangle-*,libstd_detect-*,libhashbrown-*,librustc_std_workspace_alloc-*,libminiz_oxide-*,libadler2-*,libunwind-*,liblibc-*,librustc_std_workspace_core-*,liballoc-*,libcore-*,libcompiler_builtins-*}.rlib" "-Wl,-Bdynamic" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-L" "/raw-dylibs" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-L" "/build-root/test/run-make/linker-warning/rmake_out" "-L" "<sysroot>/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "main" "-Wl,--gc-sections" "-pie" "-Wl,-z,relro,-z,now" "-nodefaultlibs" "run_make_error"
4+
= note: some arguments are omitted. use `--verbose` to show all linker arguments
5+
= note: error: baz
6+
77

88
error: aborting due to 1 previous error
99

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
error: invalid `--check-cfg` argument: `---
22
---
33
cfg(key)`
4-
|
5-
= note: expected `cfg(name, values("value1", "value2", ... "valueN"))`
6-
= note: visit <https://doc.rust-lang.org/nightly/rustc/check-cfg.html> for more details
4+
|
5+
= note: expected `cfg(name, values("value1", "value2", ... "valueN"))`
6+
= note: visit <https://doc.rust-lang.org/nightly/rustc/check-cfg.html> for more details
77

0 commit comments

Comments
 (0)