Function clippy_utils::macros::first_node_macro_backtrace
source · pub fn first_node_macro_backtrace(
cx: &LateContext<'_>,
node: &impl HirNode
) -> impl Iterator<Item = MacroCall>
Expand description
Like macro_backtrace
, but only returns macro calls where node
is the “first node” of the
macro call, as in first_node_in_macro
.