1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
/// The diagnostic's severity. #[derive(Debug, Serialize)] pub enum DiagnosticSeverity { /// Reports an error. Error = 1, /// Reports a warning. Warning = 2, /// Reports an information. Information = 3, /// Reports a hint. Hint = 4, }