diff options
| author | hkalbasi <hamidrezakalbasi@protonmail.com> | 2022-07-28 22:38:20 +0430 |
|---|---|---|
| committer | hkalbasi <hamidrezakalbasi@protonmail.com> | 2022-07-28 22:38:20 +0430 |
| commit | 61d1c3e1385be65abc197115817c28fbeb3294d6 (patch) | |
| tree | 155d4ebd0970b930906c64b2b92aecf636718c17 | |
| parent | 0b1ed70c121e1fefa9d32b87091fbac16a37c215 (diff) | |
| download | rust-61d1c3e1385be65abc197115817c28fbeb3294d6.tar.gz rust-61d1c3e1385be65abc197115817c28fbeb3294d6.zip | |
add debug impl for AnyDiagnostic
| -rw-r--r-- | crates/hir/src/diagnostics.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/crates/hir/src/diagnostics.rs b/crates/hir/src/diagnostics.rs index 6c6c11ea4eb..50374f4b3fe 100644 --- a/crates/hir/src/diagnostics.rs +++ b/crates/hir/src/diagnostics.rs @@ -14,6 +14,7 @@ use crate::{MacroKind, Type}; macro_rules! diagnostics { ($($diag:ident,)*) => { + #[derive(Debug)] pub enum AnyDiagnostic {$( $diag(Box<$diag>), )*} |
