diff options
author | Blaž Hrastnik | 2020-10-20 06:42:53 +0000 |
---|---|---|
committer | Blaž Hrastnik | 2020-12-03 04:10:34 +0000 |
commit | 49254d7180c8b92be5426cab20914b0343c9282c (patch) | |
tree | d779982070907c581511b13598ec148c3055f3a6 /helix-core | |
parent | f9bfba4d96f80eb41beb91702558f6f165a0e70f (diff) |
Total mess but it works: diagnostic marking.
Diffstat (limited to 'helix-core')
-rw-r--r-- | helix-core/src/diagnostic.rs | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/helix-core/src/diagnostic.rs b/helix-core/src/diagnostic.rs index aee648aa..96ed6746 100644 --- a/helix-core/src/diagnostic.rs +++ b/helix-core/src/diagnostic.rs @@ -1 +1,7 @@ -pub struct Diagnostic {} +use crate::Range; + +pub struct Diagnostic { + pub range: (usize, usize), + pub line: usize, + pub message: String, +} |