diff options
| author | Aaron Hill <aa1ronham@gmail.com> | 2018-01-30 21:44:35 -0500 |
|---|---|---|
| committer | Aaron Hill <aa1ronham@gmail.com> | 2018-01-30 21:44:35 -0500 |
| commit | bc8e11b975030c4282f4b76200a104788f8ac5c8 (patch) | |
| tree | 63076a799107b992800fcb47602cf64105198b50 /src/rustllvm/RustWrapper.cpp | |
| parent | def3269a71be2e737cad27418a3dad9f5bd6cd32 (diff) | |
| download | rust-bc8e11b975030c4282f4b76200a104788f8ac5c8.tar.gz rust-bc8e11b975030c4282f4b76200a104788f8ac5c8.zip | |
Fix ICE when assigning references to a static mut with NLL
is_unsafe_place only filters out statics in the rhs, not the lhs. Since it's possible to reach that 'Place::Static', we handle statics the same way as we do locals. Fixes #47789
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
