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.