Unnamed repository; edit this file 'description' to name the repository.
Diffstat (limited to 'crates/syntax/src/lib.rs')
| -rw-r--r-- | crates/syntax/src/lib.rs | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/crates/syntax/src/lib.rs b/crates/syntax/src/lib.rs index ea0de4f28d..40460e18c3 100644 --- a/crates/syntax/src/lib.rs +++ b/crates/syntax/src/lib.rs @@ -162,10 +162,6 @@ impl SourceFile { let (green, mut errors) = parsing::parse_text(text); let root = SyntaxNode::new_root(green.clone()); - if cfg!(debug_assertions) { - validation::validate_block_structure(&root); - } - errors.extend(validation::validate(&root)); assert_eq!(root.kind(), SyntaxKind::SOURCE_FILE); |