Commit 78753e0
committed
Auto merge of rust-lang#87996 - sexxi-goose:fix-87988, r=nikomatsakis
RFC2229 Add missing edge case
Closes rust-lang#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.File tree
0 file changed
+0
-0
lines changed0 file changed
+0
-0
lines changed
0 commit comments