about summary refs log tree commit diff
path: root/src/test/ui/iterators/iter-sum-overflow-overflow-checks.rs
diff options
context:
space:
mode:
authorWesley Wiser <wwiser@gmail.com>2019-10-02 05:58:26 -0400
committerWesley Wiser <wwiser@gmail.com>2019-10-02 06:18:45 -0400
commit3a8932d9b0d12a67c9b92e0370de708a089d50b4 (patch)
treeb943be58253f56d94a9f29e42530458d7c6a7ba7 /src/test/ui/iterators/iter-sum-overflow-overflow-checks.rs
parentf2023ac599c38a59f86552089e6791c5a73412d3 (diff)
downloadrust-3a8932d9b0d12a67c9b92e0370de708a089d50b4.tar.gz
rust-3a8932d9b0d12a67c9b92e0370de708a089d50b4.zip
[const-prop] Correctly handle locals that can't be propagated
`const_prop()` now handles writing the Rvalue into the Place in the
stack frame for us. So if we're not supported to propagate that value,
we need to clear it.
Diffstat (limited to 'src/test/ui/iterators/iter-sum-overflow-overflow-checks.rs')
0 files changed, 0 insertions, 0 deletions