Function rustc_mir::hair::pattern::check_match::pat_is_catchall[][src]

fn pat_is_catchall(pat: &Pat) -> bool
🔬 This is a nightly-only experimental API. (rustc_private)

this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml instead?

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