diff options
author | Ville Penttinen <[email protected]> | 2019-02-17 18:32:10 +0000 |
---|---|---|
committer | Ville Penttinen <[email protected]> | 2019-02-17 18:32:10 +0000 |
commit | bb259587056faa3a76eed6e7dae487e1848d841a (patch) | |
tree | 4df778730154b8c167930ec85c68426439607c36 /crates/ra_syntax/src/validation.rs | |
parent | 96e3ac389fbc3709cc6e7e8dbe25619daeb61f4b (diff) |
Remove match_armlist validator
Diffstat (limited to 'crates/ra_syntax/src/validation.rs')
-rw-r--r-- | crates/ra_syntax/src/validation.rs | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/crates/ra_syntax/src/validation.rs b/crates/ra_syntax/src/validation.rs index 27a465a78..10672d6bf 100644 --- a/crates/ra_syntax/src/validation.rs +++ b/crates/ra_syntax/src/validation.rs | |||
@@ -3,7 +3,6 @@ mod byte_string; | |||
3 | mod char; | 3 | mod char; |
4 | mod string; | 4 | mod string; |
5 | mod block; | 5 | mod block; |
6 | mod match_armlist; | ||
7 | 6 | ||
8 | use crate::{ | 7 | use crate::{ |
9 | SourceFile, syntax_node::SyntaxError, AstNode, | 8 | SourceFile, syntax_node::SyntaxError, AstNode, |
@@ -20,7 +19,6 @@ pub(crate) fn validate(file: &SourceFile) -> Vec<SyntaxError> { | |||
20 | .visit::<ast::Char, _>(self::char::validate_char_node) | 19 | .visit::<ast::Char, _>(self::char::validate_char_node) |
21 | .visit::<ast::String, _>(self::string::validate_string_node) | 20 | .visit::<ast::String, _>(self::string::validate_string_node) |
22 | .visit::<ast::Block, _>(self::block::validate_block_node) | 21 | .visit::<ast::Block, _>(self::block::validate_block_node) |
23 | .visit::<ast::MatchArmList, _>(self::match_armlist::validate_match_armlist) | ||
24 | .accept(node); | 22 | .accept(node); |
25 | } | 23 | } |
26 | errors | 24 | errors |