Skip to content

Commit 84bc6e1

Browse files
committed
Add comment
1 parent 545b068 commit 84bc6e1

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

crates/syntax/src/syntax_node.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,7 @@ impl SyntaxTreeBuilder {
4747

4848
pub fn finish(self) -> Parse<SyntaxNode> {
4949
let (green, errors) = self.finish_raw();
50+
// Disable block validation, see https://github.com/rust-analyzer/rust-analyzer/pull/10357
5051
if cfg!(debug_assertions) && false {
5152
let node = SyntaxNode::new_root(green.clone());
5253
crate::validation::validate_block_structure(&node);

0 commit comments

Comments
 (0)