Function clippy_utils::is_refutable
source · pub fn is_refutable(cx: &LateContext<'_>, pat: &Pat<'_>) -> bool
Expand description
Returns true
if a pattern is refutable.
pub fn is_refutable(cx: &LateContext<'_>, pat: &Pat<'_>) -> bool
Returns true
if a pattern is refutable.