Struct rustc_errors::json::DiagnosticSpanMacroExpansion [−][src]
struct DiagnosticSpanMacroExpansion {
span: DiagnosticSpan,
macro_decl_name: String,
def_site_span: DiagnosticSpan,
}Fields
span: DiagnosticSpanspan 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: Stringname of macro that was applied (e.g., “foo!” or “#[derive(Eq)]”)
def_site_span: DiagnosticSpanspan where macro was defined (if known)
Trait Implementations
Auto Trait Implementations
impl Send for DiagnosticSpanMacroExpansionimpl Sync for DiagnosticSpanMacroExpansionimpl Unpin for DiagnosticSpanMacroExpansionimpl UnwindSafe for DiagnosticSpanMacroExpansionBlanket Implementations
Layout
Note: Most layout information is completely unstable and may be different between compiler versions and platforms. The only exception is types with certain repr(...) attributes. Please see the Rust Reference’s “Type Layout” chapter for details on type layout guarantees.
Size: 328 bytes