mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-27 04:19:13 +00:00
add debug impl for AnyDiagnostic
This commit is contained in:
parent
0b1ed70c12
commit
61d1c3e138
1 changed files with 1 additions and 0 deletions
|
@ -14,6 +14,7 @@ use crate::{MacroKind, Type};
|
||||||
|
|
||||||
macro_rules! diagnostics {
|
macro_rules! diagnostics {
|
||||||
($($diag:ident,)*) => {
|
($($diag:ident,)*) => {
|
||||||
|
#[derive(Debug)]
|
||||||
pub enum AnyDiagnostic {$(
|
pub enum AnyDiagnostic {$(
|
||||||
$diag(Box<$diag>),
|
$diag(Box<$diag>),
|
||||||
)*}
|
)*}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue