3 fn add_title_line(result: &mut Vec<String>, main_annotation: Option<&Annotation>) {
4 if let Some(annotation) = main_annotation {
5 result.push(format_title_line(
6 &annotation.annotation_type,
14 [[slices.annotations]]
15 label = "Variable defined here"
16 annotation_type = "Error"
18 [[slices.annotations]]
19 label = "Referenced here"
20 annotation_type = "Error"
22 [[slices.annotations]]
23 label = "Referenced again here"
24 annotation_type = "Error"