Skip to content

Commit e3287fc

Browse files
Impl std::error::Error for SyntaxError
1 parent 2b2d9d8 commit e3287fc

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

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)