about summary refs log tree commit diff
path: root/compiler/rustc_pattern_analysis/src
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2024-01-19 19:27:02 +0100
committerGitHub <noreply@github.com>2024-01-19 19:27:02 +0100
commit5761c36c0a4b29c9b7896fdebb027159db72cb29 (patch)
treed492fafb78a177c12eb4f687996a219f5b5f7b48 /compiler/rustc_pattern_analysis/src
parent455382d8df6e6faa169468a3af07aabf165f3559 (diff)
parentff6fa67a9dd61cafe44446ff2910e14ad78584c2 (diff)
downloadrust-5761c36c0a4b29c9b7896fdebb027159db72cb29.tar.gz
rust-5761c36c0a4b29c9b7896fdebb027159db72cb29.zip
Rollup merge of #120009 - Nadrieril:never_patterns_tyck, r=compiler-errors
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`
Diffstat (limited to 'compiler/rustc_pattern_analysis/src')
0 files changed, 0 insertions, 0 deletions