macro_rules! impl_diagnostic_from_expr_field {
( $i:ident ) => { ... };
}Expand description
Macro which implements the .labels() and .source_code() methods of
miette::Diagnostic by using the parameter $i which must be an Expr
(or Box<Expr>) type field.