Skip to content
This repository was archived by the owner on May 28, 2025. It is now read-only.

Commit ef4debc

Browse files
committed
comment out disabled code
1 parent 368e0bb commit ef4debc

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

crates/syntax/src/syntax_node.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -48,10 +48,10 @@ impl SyntaxTreeBuilder {
4848
pub fn finish(self) -> Parse<SyntaxNode> {
4949
let (green, errors) = self.finish_raw();
5050
// Disable block validation, see https://github.com/rust-lang/rust-analyzer/pull/10357
51-
if cfg!(debug_assertions) && false {
52-
let node = SyntaxNode::new_root(green.clone());
53-
crate::validation::validate_block_structure(&node);
54-
}
51+
// if cfg!(debug_assertions) {
52+
// let node = SyntaxNode::new_root(green.clone());
53+
// crate::validation::validate_block_structure(&node);
54+
// }
5555
Parse::new(green, errors)
5656
}
5757

0 commit comments

Comments
 (0)