Skip to main content

modifier_prefix_always_exits

Function modifier_prefix_always_exits 

Source
fn modifier_prefix_always_exits(
    hir: &Hir<'_>,
    invocation: &Modifier<'_>,
) -> bool
Expand description

true when the modifier body has a single _; and any preceding statement definitely exits (making the calling function’s body unreachable).