Skip to content

Commit 61d1c3e

Browse files
committed
add debug impl for AnyDiagnostic
1 parent 0b1ed70 commit 61d1c3e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

crates/hir/src/diagnostics.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ use crate::{MacroKind, Type};
1414

1515
macro_rules! diagnostics {
1616
($($diag:ident,)*) => {
17+
#[derive(Debug)]
1718
pub enum AnyDiagnostic {$(
1819
$diag(Box<$diag>),
1920
)*}

0 commit comments

Comments
 (0)