aboutsummaryrefslogblamecommitdiff
path: root/helix-core/src/diagnostic.rs
blob: 5056c26aa716bf609eb585a1e095b2184919c4ef (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11





                   


                     
                       
                     
                        
                                   
 
pub enum Severity {
    Error,
    Warning,
    Info,
    Hint,
}

pub struct Range {
    pub start: usize,
    pub end: usize,
}
pub struct Diagnostic {
    pub range: Range,
    pub line: usize,
    pub message: String,
    pub severity: Option<Severity>,
}