clippy_utils

Function is_expn_of

Source
pub fn is_expn_of(span: Span, name: &str) -> Option<Span>
Expand description

Returns the pre-expansion span if this comes from an expansion of the macro name. See also is_direct_expn_of.