Merge pull request #20768 from ChayimFriedman2/std-error-syntaxerror

minor: Impl `std::error::Error` for `SyntaxError`
This commit is contained in:
Chayim Refael Friedman 2025-09-30 12:52:35 +00:00 committed by GitHub
commit 8575ada259
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -42,3 +42,5 @@ impl fmt::Display for SyntaxError {
self.0.fmt(f)
}
}
impl std::error::Error for SyntaxError {}