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.