Function clippy_utils::source::snippet_with_macro_callsite
source · pub fn snippet_with_macro_callsite<'a, T: LintContext>(
cx: &T,
span: Span,
default: &'a str
) -> Cow<'a, str>
Expand description
Same as snippet
, but should only be used when it’s clear that the input span is
not a macro argument.