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.
1 parent 368e0bb commit ef4debcCopy full SHA for ef4debc
crates/syntax/src/syntax_node.rs
@@ -48,10 +48,10 @@ impl SyntaxTreeBuilder {
48
pub fn finish(self) -> Parse<SyntaxNode> {
49
let (green, errors) = self.finish_raw();
50
// 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
- }
+ // if cfg!(debug_assertions) {
+ // let node = SyntaxNode::new_root(green.clone());
+ // crate::validation::validate_block_structure(&node);
+ // }
55
Parse::new(green, errors)
56
}
57
0 commit comments