Function clippy_utils::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.
pub fn is_expn_of(span: Span, name: &str) -> Option<Span>Returns the pre-expansion span if this comes from an expansion of the
macro name.
See also is_direct_expn_of.