aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_syntax/src
diff options
context:
space:
mode:
authorVeetaha <[email protected]>2020-02-06 11:00:39 +0000
committerVeetaha <[email protected]>2020-02-17 20:24:33 +0000
commitc58276673acbd80a3fc9c1e8ad4636079a3ff0d6 (patch)
tree8027996a60baa3c86b6b95c8bce6768c8b861c8e /crates/ra_syntax/src
parent9fdf984958901a6bf16772c2c88b3163f044b390 (diff)
Change semmantical analyzis to tree validation as per @matklad
Co-Authored-By: Aleksey Kladov <[email protected]>
Diffstat (limited to 'crates/ra_syntax/src')
-rw-r--r--crates/ra_syntax/src/syntax_error.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/ra_syntax/src/syntax_error.rs b/crates/ra_syntax/src/syntax_error.rs
index 460552103..71b228ff6 100644
--- a/crates/ra_syntax/src/syntax_error.rs
+++ b/crates/ra_syntax/src/syntax_error.rs
@@ -5,7 +5,7 @@ use std::fmt;
5use crate::{TextRange, TextUnit}; 5use crate::{TextRange, TextUnit};
6 6
7/// Represents the result of unsuccessful tokenization, parsing 7/// Represents the result of unsuccessful tokenization, parsing
8/// or semmantical analyzis. 8/// or tree validation.
9#[derive(Debug, Clone, PartialEq, Eq, Hash)] 9#[derive(Debug, Clone, PartialEq, Eq, Hash)]
10pub struct SyntaxError(String, TextRange); 10pub struct SyntaxError(String, TextRange);
11 11