diff options
| author | Shotaro Yamada <sinkuu@sinkuu.xyz> | 2018-12-10 15:59:21 +0900 |
|---|---|---|
| committer | Shotaro Yamada <sinkuu@sinkuu.xyz> | 2018-12-10 15:59:21 +0900 |
| commit | e7d18084fb8e6646489be545d20d050623d8d45d (patch) | |
| tree | 50414cc1bc3c925f384f794aac922c4088ae974e /tests/mir-opt/lower_array_len.array_len_raw.NormalizeArrayLen.diff | |
| parent | fd9f5df36ca934405183ee8e7ba96b46b1f645f2 (diff) | |
| download | rust-e7d18084fb8e6646489be545d20d050623d8d45d.tar.gz rust-e7d18084fb8e6646489be545d20d050623d8d45d.zip | |
Only check the assignment found at last
If there are more than one such assignment, the last one may be the one supplied to `clone` method. Makes `find_stmt_assigns_to` internally reverses the iterator to make the intent to "iterate statements backward" clear.
Diffstat (limited to 'tests/mir-opt/lower_array_len.array_len_raw.NormalizeArrayLen.diff')
0 files changed, 0 insertions, 0 deletions
