aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_syntax/src/validation.rs
diff options
context:
space:
mode:
authorVille Penttinen <[email protected]>2019-02-17 18:32:10 +0000
committerVille Penttinen <[email protected]>2019-02-17 18:32:10 +0000
commitbb259587056faa3a76eed6e7dae487e1848d841a (patch)
tree4df778730154b8c167930ec85c68426439607c36 /crates/ra_syntax/src/validation.rs
parent96e3ac389fbc3709cc6e7e8dbe25619daeb61f4b (diff)
Remove match_armlist validator
Diffstat (limited to 'crates/ra_syntax/src/validation.rs')
-rw-r--r--crates/ra_syntax/src/validation.rs2
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;
3mod char; 3mod char;
4mod string; 4mod string;
5mod block; 5mod block;
6mod match_armlist;
7 6
8use crate::{ 7use 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