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:
authorkennytm <kennytm@gmail.com>2019-02-07 13:57:44 +0800
committerGitHub <noreply@github.com>2019-02-07 13:57:44 +0800
commit7168eadafeacb50e9de56224c1366290b1c10e22 (patch)
treed235a7ffd9909bd4806c8919686106c9b727a323 /tests/mir-opt/lower_array_len.array_bound.NormalizeArrayLen.panic-abort.diff
parent4c9bef0cf8828d8dff66ac6b654a0018d39bcacc (diff)
parent80c052bed76d7b7406e956747012bc8a929fe909 (diff)
downloadrust-7168eadafeacb50e9de56224c1366290b1c10e22.tar.gz
rust-7168eadafeacb50e9de56224c1366290b1c10e22.zip
Rollup merge of #58192 - dlrobertson:fix_57876, r=oli-obk
Do not ICE in codegen when using a extern_type static

The layout of a extern_type static is unsized, but may pass the
Well-Formed check in typeck (See #55257).  As a result, we
cannot assume that a static is sized when generating the `Place`
for an r-value.

Fixes: #57876

r? @oli-obk
Diffstat (limited to 'tests/mir-opt/lower_array_len.array_bound.NormalizeArrayLen.panic-abort.diff')
0 files changed, 0 insertions, 0 deletions