Function clippy_utils::macros::root_macro_call_first_node

source ·
pub fn root_macro_call_first_node(
    cx: &LateContext<'_>,
    node: &impl HirNode
) -> Option<MacroCall>
Expand description

Like root_macro_call, but only returns Some if node is the “first node” produced by the macro call, as in first_node_in_macro.