diff options
| author | Dan Robertson <dan@dlrobertson.com> | 2019-02-05 15:52:54 +0000 |
|---|---|---|
| committer | Dan Robertson <dan@dlrobertson.com> | 2019-02-05 21:20:07 +0000 |
| commit | 80c052bed76d7b7406e956747012bc8a929fe909 (patch) | |
| tree | 77a17b1ae61363f1c0191da16bee3d4324b2956c /tests/mir-opt/lower_array_len.array_bound.NormalizeArrayLen.panic-abort.diff | |
| parent | b2c6b8c29f13f8d1f242da89e587960b95337819 (diff) | |
| download | rust-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
