clippy_utils

Function is_refutable

Source
pub fn is_refutable(cx: &LateContext<'_>, pat: &Pat<'_>) -> bool
Expand description

Returns true if a pattern is refutable.