We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 64ca0f6 + 84bc6e1 commit 4439cd8Copy full SHA for 4439cd8
crates/syntax/src/syntax_node.rs
@@ -47,6 +47,7 @@ impl SyntaxTreeBuilder {
47
48
pub fn finish(self) -> Parse<SyntaxNode> {
49
let (green, errors) = self.finish_raw();
50
+ // Disable block validation, see https://github.com/rust-analyzer/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);
0 commit comments