about summary refs log tree commit diff
path: root/src/librustdoc/html/static/source-script.js
diff options
context:
space:
mode:
authorMazdak Farrokhzad <twingoow@gmail.com>2019-01-13 21:18:13 +0100
committerGitHub <noreply@github.com>2019-01-13 21:18:13 +0100
commit35af111232f887a1173106a2038094c165bee1ff (patch)
tree465244e02fdcd988988785207b9e4a1d14f6eb0b /src/librustdoc/html/static/source-script.js
parentd7c1e0d1bfe6a19d201c8f259f77174e5171032d (diff)
parentd6c19191b05c11c6a3f5cbf25178ec749f5a3414 (diff)
downloadrust-35af111232f887a1173106a2038094c165bee1ff.tar.gz
rust-35af111232f887a1173106a2038094c165bee1ff.zip
Rollup merge of #57538 - dlrobertson:fix_57472, r=zackmdavis
librustc_mir: Fix ICE with slice patterns

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`.

Fixes: #57472
Diffstat (limited to 'src/librustdoc/html/static/source-script.js')
0 files changed, 0 insertions, 0 deletions