diff options
| author | Chayim Refael Friedman <chayimfr@gmail.com> | 2025-09-30 15:40:54 +0300 |
|---|---|---|
| committer | Chayim Refael Friedman <chayimfr@gmail.com> | 2025-09-30 15:40:54 +0300 |
| commit | fef865731cdf89995f8e8667641701843b4a3168 (patch) | |
| tree | 9ef1f0de77c8147af7fdedfca432d7c07b954f57 /src/tools | |
| parent | 5969470982c20f21eda1238d85f88f7987fa9803 (diff) | |
| download | rust-fef865731cdf89995f8e8667641701843b4a3168.tar.gz rust-fef865731cdf89995f8e8667641701843b4a3168.zip | |
Impl `std::error::Error` for `SyntaxError`
Diffstat (limited to 'src/tools')
| -rw-r--r-- | src/tools/rust-analyzer/crates/syntax/src/syntax_error.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/tools/rust-analyzer/crates/syntax/src/syntax_error.rs b/src/tools/rust-analyzer/crates/syntax/src/syntax_error.rs index dc6130bd641..1c902893abc 100644 --- a/src/tools/rust-analyzer/crates/syntax/src/syntax_error.rs +++ b/src/tools/rust-analyzer/crates/syntax/src/syntax_error.rs @@ -42,3 +42,5 @@ impl fmt::Display for SyntaxError { self.0.fmt(f) } } + +impl std::error::Error for SyntaxError {} |
