Struct rustc_errors::json::DiagnosticSpanMacroExpansion [−][src]
struct DiagnosticSpanMacroExpansion {
span: DiagnosticSpan,
macro_decl_name: String,
def_site_span: DiagnosticSpan,
}Fields
span: DiagnosticSpanExpand description
span where macro was applied to generate this code; note that
this may itself derive from a macro (if
span.expansion.is_some())
macro_decl_name: StringExpand description
name of macro that was applied (e.g., “foo!” or “#[derive(Eq)]”)
def_site_span: DiagnosticSpanExpand description
span where macro was defined (if known)