about summary refs log tree commit diff
path: root/src/rustllvm/RustWrapper.cpp
diff options
context:
space:
mode:
authorAaron Hill <aa1ronham@gmail.com>2018-01-30 21:44:35 -0500
committerAaron Hill <aa1ronham@gmail.com>2018-01-30 21:44:35 -0500
commitbc8e11b975030c4282f4b76200a104788f8ac5c8 (patch)
tree63076a799107b992800fcb47602cf64105198b50 /src/rustllvm/RustWrapper.cpp
parentdef3269a71be2e737cad27418a3dad9f5bd6cd32 (diff)
downloadrust-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