miette

Derive Macro Diagnostic

source
#[derive(Diagnostic)]
{
    // Attributes available to this derive:
    #[diagnostic]
    #[source_code]
    #[label]
    #[related]
    #[help]
    #[diagnostic_source]
}