about summary refs log tree commit diff
path: root/src/test/ui/issues/issue-57472.rs
AgeCommit message (Collapse)AuthorLines
2020-11-19Regroup many usefulness-related test in the same folderNadrieril-35/+0
2019-01-13librustc_mir: Fix ICE with slice patternsDan Robertson-0/+35
If a match arm does not include all fields in a structure and a later pattern includes a field that is an array, we will attempt to use the array type from the prior arm. When calculating the field type, treat a array of an unknown size as a TyErr.