pub(crate) fn actual_derive_diagnostic(
input: ItemStruct,
) -> Result<TokenStream, Error>
Expand description
Expected usage:
ⓘ
#[derive(IntoDiagnostic, Clone)]
#[diagnostic(error, "Expected argument list")]
pub(crate) struct ExpectedArgumentList {
#[diagnostic(primary, "Expected argument list for this instantiation")]
pub base_expr: Loc<()>,
pub next_token: Token,
}