rustc_mir_build::thir::pattern::check_match

Function pat_is_catchall

source
fn pat_is_catchall(pat: &DeconstructedPat<'_, '_>) -> bool
Expand description

Checks for common cases of “catchall” patterns that may not be intended as such.