summary refs log tree commit diff
path: root/src/test/codegen/stack-alloc-string-slice.cc
diff options
context:
space:
mode:
authorDan Robertson <danlrobertson89@gmail.com>2018-05-11 03:56:08 +0000
committerPietro Albini <pietro@pietroalbini.org>2018-05-13 16:20:23 +0200
commit7041b65220a7327a072b4a3d1e670944292451d6 (patch)
treec51d5dfa39617265852e8e4b620ef07fcdf65faa /src/test/codegen/stack-alloc-string-slice.cc
parent046bb83b4657da4b545a95aaea85862259bd9e8c (diff)
downloadrust-7041b65220a7327a072b4a3d1e670944292451d6.tar.gz
rust-7041b65220a7327a072b4a3d1e670944292451d6.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/test/codegen/stack-alloc-string-slice.cc')
0 files changed, 0 insertions, 0 deletions