Struct rls_span::compiler::DiagnosticSpanMacroExpansion [] [src]

pub struct DiagnosticSpanMacroExpansion {
    pub span: DiagnosticSpan,
    pub macro_decl_name: String,
    pub def_site_span: Option<DiagnosticSpan>,
}

Fields

span where macro was applied to generate this code; note that this may itself derive from a macro (if span.expansion.is_some())

name of macro that was applied (e.g., "foo!" or "#[derive(Eq)]")

span where macro was defined (if known)

Trait Implementations

impl Debug for DiagnosticSpanMacroExpansion
[src]

Formats the value using the given formatter.

impl Clone for DiagnosticSpanMacroExpansion
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more