about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src/asm.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2020-11-18 21:24:40 +0000
committerbors <bors@rust-lang.org>2020-11-18 21:24:40 +0000
commit8256379832b5ecb7f71e8c5e2018446482223c12 (patch)
tree1d5e866b6b006d84b3d8ce102a1022234ed2e4ae /compiler/rustc_codegen_llvm/src/asm.rs
parent8d2d0014922e9f541694bfe87642749239990e0e (diff)
parent69821cf8df86c8f4366e0c16a0a7de8d0135b90f (diff)
downloadrust-8256379832b5ecb7f71e8c5e2018446482223c12.tar.gz
rust-8256379832b5ecb7f71e8c5e2018446482223c12.zip
Auto merge of #78995 - Nadrieril:clean-empty-match, r=varkor
Handle empty matches cleanly in exhaustiveness checking

This removes the special-casing of empty matches that was done in `check_match`. This fixes most of https://github.com/rust-lang/rust/issues/55123.
Somewhat unrelatedly, I also made `_match.rs` more self-contained, because I think it's cleaner.

r? `@varkor`
`@rustbot` modify labels: +A-exhaustiveness-checking
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/asm.rs')
0 files changed, 0 insertions, 0 deletions