summaryrefslogtreecommitdiffstats
path: root/vendor/annotate-snippets-0.8.0/tests/fixtures/no-color/multiple_annotations.txt
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-17 12:02:58 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-17 12:02:58 +0000
commit698f8c2f01ea549d77d7dc3338a12e04c11057b9 (patch)
tree173a775858bd501c378080a10dca74132f05bc50 /vendor/annotate-snippets-0.8.0/tests/fixtures/no-color/multiple_annotations.txt
parentInitial commit. (diff)
downloadrustc-698f8c2f01ea549d77d7dc3338a12e04c11057b9.tar.xz
rustc-698f8c2f01ea549d77d7dc3338a12e04c11057b9.zip
Adding upstream version 1.64.0+dfsg1.upstream/1.64.0+dfsg1
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'vendor/annotate-snippets-0.8.0/tests/fixtures/no-color/multiple_annotations.txt')
-rw-r--r--vendor/annotate-snippets-0.8.0/tests/fixtures/no-color/multiple_annotations.txt14
1 files changed, 14 insertions, 0 deletions
diff --git a/vendor/annotate-snippets-0.8.0/tests/fixtures/no-color/multiple_annotations.txt b/vendor/annotate-snippets-0.8.0/tests/fixtures/no-color/multiple_annotations.txt
new file mode 100644
index 000000000..26c677f7e
--- /dev/null
+++ b/vendor/annotate-snippets-0.8.0/tests/fixtures/no-color/multiple_annotations.txt
@@ -0,0 +1,14 @@
+ |
+ 96 | fn add_title_line(result: &mut Vec<String>, main_annotation: Option<&Annotation>) {
+ 97 | if let Some(annotation) = main_annotation {
+ | ^^^^^^^^^^ Variable defined here
+ 98 | result.push(format_title_line(
+ 99 | &annotation.annotation_type,
+ | ^^^^^^^^^^ Referenced here
+100 | None,
+101 | &annotation.label,
+ | ^^^^^^^^^^ Referenced again here
+102 | ));
+103 | }
+104 | }
+ |