mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-27 12:29:21 +00:00
⬆️ rust-analyzer
This commit is contained in:
parent
3e0e51c108
commit
bc45c7659a
321 changed files with 11210 additions and 9720 deletions
|
@ -48,6 +48,7 @@ impl SyntaxTreeBuilder {
|
|||
pub fn finish(self) -> Parse<SyntaxNode> {
|
||||
let (green, errors) = self.finish_raw();
|
||||
// Disable block validation, see https://github.com/rust-lang/rust-analyzer/pull/10357
|
||||
#[allow(clippy::overly_complex_bool_expr)]
|
||||
if cfg!(debug_assertions) && false {
|
||||
let node = SyntaxNode::new_root(green.clone());
|
||||
crate::validation::validate_block_structure(&node);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue