diff options
author | Aleksey Kladov <[email protected]> | 2018-08-09 19:27:44 +0100 |
---|---|---|
committer | Aleksey Kladov <[email protected]> | 2018-08-09 19:27:44 +0100 |
commit | 4a900fd6815d3ea722b5e664aee9eac8bb9cb14f (patch) | |
tree | 48dddd52ed4ed5e9cf28504d2c3b8d8a1dd8c27e /src/yellow/syntax.rs | |
parent | afa94d4f37b9a0a1e723edffcc79c3d48799bad1 (diff) |
Split diagnostics
Diffstat (limited to 'src/yellow/syntax.rs')
-rw-r--r-- | src/yellow/syntax.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/yellow/syntax.rs b/src/yellow/syntax.rs index 07607ec2d..2ba9281fc 100644 --- a/src/yellow/syntax.rs +++ b/src/yellow/syntax.rs | |||
@@ -46,9 +46,9 @@ impl SyntaxRoot { | |||
46 | } | 46 | } |
47 | 47 | ||
48 | #[derive(Debug, Clone, PartialEq, Eq, Hash, Ord, PartialOrd)] | 48 | #[derive(Debug, Clone, PartialEq, Eq, Hash, Ord, PartialOrd)] |
49 | pub(crate) struct SyntaxError { | 49 | pub struct SyntaxError { |
50 | pub(crate) message: String, | 50 | pub msg: String, |
51 | pub(crate) offset: TextUnit, | 51 | pub offset: TextUnit, |
52 | } | 52 | } |
53 | 53 | ||
54 | impl SyntaxNode<Arc<SyntaxRoot>> { | 54 | impl SyntaxNode<Arc<SyntaxRoot>> { |