chore: add comment for default diagnostic symbols

This commit is contained in:
Rolo 2024-12-30 09:43:06 -08:00
parent 041192eaae
commit 1eda83e3e5

View file

@ -162,6 +162,19 @@ pub struct Diagnostic {
error: Option<String>,
}
// NOTE: #6646 can be achieved by uncommenting this or adding the symbols
// to the `map_or` default.
// impl Default for Diagnostic {
// fn default() -> Self {
// Self {
// hint: Some(String::from("○")),
// info: Some(String::from("●")),
// warning: Some(String::from("▲")),
// error: Some(String::from("■")),
// }
// }
// }
impl Diagnostic {
const DEFAULT: &'static str = "";