mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-08-22 03:14:30 +00:00
parent
b50cb5c261
commit
3829cd981a
1 changed files with 1 additions and 1 deletions
|
@ -47,7 +47,7 @@ impl SyntaxTreeBuilder {
|
||||||
|
|
||||||
pub fn finish(self) -> Parse<SyntaxNode> {
|
pub fn finish(self) -> Parse<SyntaxNode> {
|
||||||
let (green, errors) = self.finish_raw();
|
let (green, errors) = self.finish_raw();
|
||||||
// NOTE Why disabling assertions.
|
// NOTE Why you're disabling assertions.
|
||||||
// ref: https://github.com/rust-analyzer/rust-analyzer/pull/10357
|
// ref: https://github.com/rust-analyzer/rust-analyzer/pull/10357
|
||||||
if cfg!(debug_assertions) && false {
|
if cfg!(debug_assertions) && false {
|
||||||
let node = SyntaxNode::new_root(green.clone());
|
let node = SyntaxNode::new_root(green.clone());
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue