diff options
| author | bors <bors@rust-lang.org> | 2022-07-19 22:36:08 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2022-07-19 22:36:08 +0000 |
| commit | 30c4db10ab8033176af0ffd179348c90a2bab6df (patch) | |
| tree | 08cad251e28f97b7aa802b3f391fe93b1974025d /tests/mir-opt/lower_array_len.array_len_raw.NormalizeArrayLen.diff | |
| parent | 7d20ff3ffbd30a89b7baa7cd996d4d60f0da6c55 (diff) | |
| parent | ffb6b23c75add6192a133b15be946cc2199ed971 (diff) | |
| download | rust-30c4db10ab8033176af0ffd179348c90a2bab6df.tar.gz rust-30c4db10ab8033176af0ffd179348c90a2bab6df.zip | |
Auto merge of #12789 - DorianListens:dscheidt/unused-param-overlapping, r=DorianListens
fix: Prevent panic in Remove Unused Parameter assist Instead of calling `builder.delete` for every text range we find with `process_usage`, we now ensure that the ranges do not overlap before removing them. If a range is fully contained by a prior one, it is dropped. fixes #12784
Diffstat (limited to 'tests/mir-opt/lower_array_len.array_len_raw.NormalizeArrayLen.diff')
0 files changed, 0 insertions, 0 deletions
