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.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/ra_syntax/src/lib.rs b/crates/ra_syntax/src/lib.rs
index cc02c4be5..e3f74da6d 100644
--- a/crates/ra_syntax/src/lib.rs
+++ b/crates/ra_syntax/src/lib.rs
@@ -115,7 +115,7 @@ impl Parse<SourceFile> {
115 pub fn debug_dump(&self) -> String { 115 pub fn debug_dump(&self) -> String {
116 let mut buf = format!("{:#?}", self.tree().syntax()); 116 let mut buf = format!("{:#?}", self.tree().syntax());
117 for err in self.errors.iter() { 117 for err in self.errors.iter() {
118 writeln!(buf, "error {:?}: {}", err.range(), err.message()).unwrap(); 118 writeln!(buf, "error {:?}: {}", err.range(), err).unwrap();
119 } 119 }
120 buf 120 buf
121 } 121 }