rustc_lint::non_fmt_panic

Function find_delimiters

source
fn find_delimiters(
    cx: &LateContext<'_>,
    span: Span,
) -> Option<(Span, Span, char)>
Expand description

Given the span of some_macro!(args);, gives the span of ( and ), and the type of (opening) delimiter used.