aboutsummaryrefslogtreecommitdiff
path: root/src/yellow/syntax.rs
diff options
context:
space:
mode:
authorAleksey Kladov <[email protected]>2018-08-09 19:27:44 +0100
committerAleksey Kladov <[email protected]>2018-08-09 19:27:44 +0100
commit4a900fd6815d3ea722b5e664aee9eac8bb9cb14f (patch)
tree48dddd52ed4ed5e9cf28504d2c3b8d8a1dd8c27e /src/yellow/syntax.rs
parentafa94d4f37b9a0a1e723edffcc79c3d48799bad1 (diff)
Split diagnostics
Diffstat (limited to 'src/yellow/syntax.rs')
-rw-r--r--src/yellow/syntax.rs6
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)]
49pub(crate) struct SyntaxError { 49pub struct SyntaxError {
50 pub(crate) message: String, 50 pub msg: String,
51 pub(crate) offset: TextUnit, 51 pub offset: TextUnit,
52} 52}
53 53
54impl SyntaxNode<Arc<SyntaxRoot>> { 54impl SyntaxNode<Arc<SyntaxRoot>> {