about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src/builder.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2021-08-19 23:33:22 +0000
committerbors <bors@rust-lang.org>2021-08-19 23:33:22 +0000
commitebedfedcd82678d5b0592227ca5e6ca31a5afb8f (patch)
tree52a709f2598af445bf76dc722926b8a1c82c6dd8 /compiler/rustc_codegen_llvm/src/builder.rs
parent6d64f7f695943541fe12bb960971403f440d7225 (diff)
parent2e61659bd1f3998520abc77f5459c529083a7a3d (diff)
downloadrust-ebedfedcd82678d5b0592227ca5e6ca31a5afb8f.tar.gz
rust-ebedfedcd82678d5b0592227ca5e6ca31a5afb8f.zip
Auto merge of #87996 - sexxi-goose:fix-87988, r=nikomatsakis
RFC2229 Add missing edge case

Closes https://github.com/rust-lang/rust/issues/87988

This PR fixes an ICE where a match discriminant is not being read when expected. This ICE was the result of a missing edge case which assumed that if a pattern is of type `PatKind::TupleStruct(..) | PatKind::Path(..) | PatKind::Struct(..) | PatKind::Tuple(..)` then a place could only be a multi variant if the place is of type kind Adt.
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/builder.rs')
0 files changed, 0 insertions, 0 deletions