aboutsummaryrefslogtreecommitdiff
path: root/tests/fixtures/no-color/multiple_annotations.txt
diff options
context:
space:
mode:
Diffstat (limited to 'tests/fixtures/no-color/multiple_annotations.txt')
-rw-r--r--tests/fixtures/no-color/multiple_annotations.txt14
1 files changed, 14 insertions, 0 deletions
diff --git a/tests/fixtures/no-color/multiple_annotations.txt b/tests/fixtures/no-color/multiple_annotations.txt
new file mode 100644
index 0000000..26c677f
--- /dev/null
+++ b/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 | }
+ |