Struct syntax_pos::MacroBacktrace
[−]
[src]
pub struct MacroBacktrace { pub call_site: Span, pub macro_decl_name: String, pub def_site_span: Option<Span>, }
🔬 This is a nightly-only experimental API. (rustc_private
)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml
instead?
Fields
call_site: Span
🔬 This is a nightly-only experimental API. (rustc_private
)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml
instead?
span where macro was applied to generate this code
macro_decl_name: String
🔬 This is a nightly-only experimental API. (rustc_private
)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml
instead?
name of macro that was applied (e.g., "foo!" or "#[derive(Eq)]")
def_site_span: Option<Span>
🔬 This is a nightly-only experimental API. (rustc_private
)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml
instead?
span where macro was defined (if known)