clippy_utils::macros

Function macro_backtrace

source
pub fn macro_backtrace(span: Span) -> impl Iterator<Item = MacroCall>
Expand description

Returns an iterator of macro expansions that created the given span. Note that desugaring expansions are skipped.