Function clippy_utils::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]
.
pub fn is_in_panic_handler(cx: &LateContext<'_>, e: &Expr<'_>) -> bool
Returns true
if the expression is in the program’s #[panic_handler]
.