rustc_lint::non_fmt_panic

Function check_panic_str

source
fn check_panic_str<'tcx>(
    cx: &LateContext<'tcx>,
    f: &'tcx Expr<'tcx>,
    arg: &'tcx Expr<'tcx>,
    fmt: &str,
)