mirror of
https://github.com/rust-lang/rust.git
synced 2025-11-21 12:55:46 +00:00
never_patterns: typecheck never patterns This checks that a `!` pattern is only used on an uninhabited type (modulo match ergonomics, i.e. `!` is allowed on `&Void`). r? `@compiler-errors`