add debug impl for AnyDiagnostic

This commit is contained in:
hkalbasi 2022-07-28 22:38:20 +04:30
parent 0b1ed70c12
commit 61d1c3e138

View file

@ -14,6 +14,7 @@ use crate::{MacroKind, Type};
macro_rules! diagnostics {
($($diag:ident,)*) => {
#[derive(Debug)]
pub enum AnyDiagnostic {$(
$diag(Box<$diag>),
)*}