diff options
| author | kennytm <kennytm@gmail.com> | 2018-02-02 16:29:19 +0800 |
|---|---|---|
| committer | kennytm <kennytm@gmail.com> | 2018-02-02 22:48:45 +0800 |
| commit | 2e3a8f51595e3af985425520f1cba1bce4423979 (patch) | |
| tree | e4ef8c7cd850d6bbb39f3749abbc834bb67f2d74 /src/rustllvm/RustWrapper.cpp | |
| parent | a6719446c07281863eefe9dec198cb70e0f8685f (diff) | |
| parent | bc8e11b975030c4282f4b76200a104788f8ac5c8 (diff) | |
| download | rust-2e3a8f51595e3af985425520f1cba1bce4423979.tar.gz rust-2e3a8f51595e3af985425520f1cba1bce4423979.zip | |
Rollup merge of #47898 - Aaron1011:static-ref-nll, r=nikomatsakis 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
