fa_diagnostic_ctx

Macro fa_diagnostic_ctx 

Source
macro_rules! fa_diagnostic_ctx {
    (
        $kind:ident,
        code = $code:expr,
        message = $msg:expr
        $(, note = $note:expr)?
        $(, help = $help:expr)?
    ) => { ... };
}
Expand description

Emit a runtime diagnostic with captured context.

§Example

fa_diagnostic_ctx!(
    Warning,
    code = "FA003",
    message = "frame arena exhausted"
);