use text_size::TextRange;
#[derive(Debug, Clone, PartialEq, Eq)]
pub struct DiagnosticLabel {
pub range: TextRange,
pub message: String,
}
impl DiagnosticLabel {
pub fn new(range: TextRange, message: impl Into<String>) -> Self {
Self {
range,
message: message.into(),
}
}
}