about summary refs log tree commit diff
path: root/src/rustllvm/RustWrapper.cpp
diff options
context:
space:
mode:
authorDan Robertson <danlrobertson89@gmail.com>2018-05-11 03:56:08 +0000
committerDan Robertson <danlrobertson89@gmail.com>2018-05-12 02:47:58 +0000
commitf6a46cf4d16e5fa38ee983dd6e191ae7e46acaae (patch)
tree3975f7c300121cb9ca3fe0ca6589af1bf6415d79 /src/rustllvm/RustWrapper.cpp
parent41707d8df9a441e19387a4a61415ee0af58a9e48 (diff)
downloadrust-f6a46cf4d16e5fa38ee983dd6e191ae7e46acaae.tar.gz
rust-f6a46cf4d16e5fa38ee983dd6e191ae7e46acaae.zip
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.
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions