1
2
3
4
5
6
7
8
9
10
11
use std::ops::Range;

pub struct TextualDiagnostics {
    pub title: String,
    pub reports: Vec<Report>,
}

pub struct Report {
    pub text: String,
    pub span: Range<usize>,
}