diff options
Diffstat (limited to 'helix-core/src/diagnostic.rs')
-rw-r--r-- | helix-core/src/diagnostic.rs | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/helix-core/src/diagnostic.rs b/helix-core/src/diagnostic.rs new file mode 100644 index 00000000..96ed6746 --- /dev/null +++ b/helix-core/src/diagnostic.rs @@ -0,0 +1,7 @@ +use crate::Range; + +pub struct Diagnostic { + pub range: (usize, usize), + pub line: usize, + pub message: String, +} |