about summary refs log tree commit diff
path: root/tests/mir-opt/lower_array_len.array_bound.NormalizeArrayLen.panic-abort.diff
diff options
context:
space:
mode:
authorDan Robertson <dan@dlrobertson.com>2019-02-05 15:52:54 +0000
committerDan Robertson <dan@dlrobertson.com>2019-02-05 21:20:07 +0000
commit80c052bed76d7b7406e956747012bc8a929fe909 (patch)
tree77a17b1ae61363f1c0191da16bee3d4324b2956c /tests/mir-opt/lower_array_len.array_bound.NormalizeArrayLen.panic-abort.diff
parentb2c6b8c29f13f8d1f242da89e587960b95337819 (diff)
downloadrust-80c052bed76d7b7406e956747012bc8a929fe909.tar.gz
rust-80c052bed76d7b7406e956747012bc8a929fe909.zip
Do not ICE in codegen given a extern_type static
The layout of a extern_type static is unsized, but may pass the
Well-Formed check in typeck. As a result, we cannot assume that
a static is sized when generating the `Place` for an r-value.
Diffstat (limited to 'tests/mir-opt/lower_array_len.array_bound.NormalizeArrayLen.panic-abort.diff')
0 files changed, 0 insertions, 0 deletions