aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_syntax/src/lib.rs
diff options
context:
space:
mode:
Diffstat (limited to 'crates/ra_syntax/src/lib.rs')
-rw-r--r--crates/ra_syntax/src/lib.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/crates/ra_syntax/src/lib.rs b/crates/ra_syntax/src/lib.rs
index a950870bd..6a4f3ff13 100644
--- a/crates/ra_syntax/src/lib.rs
+++ b/crates/ra_syntax/src/lib.rs
@@ -74,8 +74,8 @@ impl Parse {
74pub use crate::ast::SourceFile; 74pub use crate::ast::SourceFile;
75 75
76impl SourceFile { 76impl SourceFile {
77 fn new(green: GreenNode, errors: Vec<SyntaxError>) -> TreeArc<SourceFile> { 77 fn new(green: GreenNode, _errors: Vec<SyntaxError>) -> TreeArc<SourceFile> {
78 let root = SyntaxNode::new(green, errors); 78 let root = SyntaxNode::new(green);
79 if cfg!(debug_assertions) { 79 if cfg!(debug_assertions) {
80 validation::validate_block_structure(&root); 80 validation::validate_block_structure(&root);
81 } 81 }