Module rustc_lint::non_fmt_panic[−][src]

Structs

NonPanicFmt

Statics

NON_FMT_PANIC

The non_fmt_panic lint detects panic!(..) invocations where the first argument is not a formatting string.

Functions

check_panic
check_panic_str
find_delimiters

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

panic_call