From 4a900fd6815d3ea722b5e664aee9eac8bb9cb14f Mon Sep 17 00:00:00 2001 From: Aleksey Kladov Date: Thu, 9 Aug 2018 21:27:44 +0300 Subject: Split diagnostics --- src/yellow/syntax.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/yellow/syntax.rs') 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 { } #[derive(Debug, Clone, PartialEq, Eq, Hash, Ord, PartialOrd)] -pub(crate) struct SyntaxError { - pub(crate) message: String, - pub(crate) offset: TextUnit, +pub struct SyntaxError { + pub msg: String, + pub offset: TextUnit, } impl SyntaxNode> { -- cgit v1.2.3