about summary refs log tree commit diff
path: root/src/rustllvm/RustWrapper.cpp
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2018-05-13 09:16:11 +0000
committerbors <bors@rust-lang.org>2018-05-13 09:16:11 +0000
commit0d48c965071f630a200d4a0cfccb233e836b7483 (patch)
treedf5d143c96a3aa7afc93906fdbe77a31b28af52d /src/rustllvm/RustWrapper.cpp
parentf9ae5bc1c5a98427244a8b3abd7c7e337267fb1c (diff)
parentf6a46cf4d16e5fa38ee983dd6e191ae7e46acaae (diff)
downloadrust-0d48c965071f630a200d4a0cfccb233e836b7483.tar.gz
rust-0d48c965071f630a200d4a0cfccb233e836b7483.zip
Auto merge of #50643 - dlrobertson:fix_ice, r=oli-obk
typeck: Fix ICE with struct update syntax

If check_expr_struct_fields fails, do not continue to record update.
If we continue to record update, the struct may cause us to ICE later
on indexing a field that may or may not exist.

Fixes: #50618
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions