clippy_utils

Function is_in_panic_handler

Source
pub fn is_in_panic_handler(cx: &LateContext<'_>, e: &Expr<'_>) -> bool
Expand description

Returns true if the expression is in the program’s #[panic_handler].