pub fn is_none_pattern(cx: &LateContext<'_>, pat: &Pat<'_>) -> bool
Checks if the pat is None.
pat
None