mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-26 20:09:19 +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 {
|
||||
($($diag:ident,)*) => {
|
||||
#[derive(Debug)]
|
||||
pub enum AnyDiagnostic {$(
|
||||
$diag(Box<$diag>),
|
||||
)*}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue