diff options
| author | Dan Robertson <danlrobertson89@gmail.com> | 2018-05-11 03:56:08 +0000 |
|---|---|---|
| committer | Pietro Albini <pietro@pietroalbini.org> | 2018-05-13 16:20:23 +0200 |
| commit | 7041b65220a7327a072b4a3d1e670944292451d6 (patch) | |
| tree | c51d5dfa39617265852e8e4b620ef07fcdf65faa /src/test/codegen/stack-alloc-string-slice.cc | |
| parent | 046bb83b4657da4b545a95aaea85862259bd9e8c (diff) | |
| download | rust-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
