Skip to content

Commit fef8657

Browse files
Impl std::error::Error for SyntaxError
1 parent 5969470 commit fef8657

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/tools/rust-analyzer/crates/syntax/src/syntax_error.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,3 +42,5 @@ impl fmt::Display for SyntaxError {
4242
self.0.fmt(f)
4343
}
4444
}
45+
46+
impl std::error::Error for SyntaxError {}

0 commit comments

Comments
 (0)