diff options
| author | bors <bors@rust-lang.org> | 2023-06-14 23:57:03 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2023-06-14 23:57:03 +0000 |
| commit | 823d9dd503dd71121383d9c9e596fbdfe85fff3c (patch) | |
| tree | 01e3e548c175233c30584baefa5c2e1b0608169c /tests/mir-opt/lower_array_len.array_len.NormalizeArrayLen.panic-unwind.diff | |
| parent | ffe95252bd355fd9643de6dceea997bb7bee229b (diff) | |
| parent | 830d307d0a4b0bb584bf3552fcbf0e2dc2575aec (diff) | |
| download | rust-823d9dd503dd71121383d9c9e596fbdfe85fff3c.tar.gz rust-823d9dd503dd71121383d9c9e596fbdfe85fff3c.zip | |
Auto merge of #10934 - Centri3:single_range_in_vec_init, r=giraffate
new lint [`single_range_in_vec_init`] Lints on `vec![0..200]` (or `[0..200]`), suggesting either `(0..200).collect::<Vec<i32>>()` or `[0; 200]`. Haven't tested it with anything that isn't primitive. Probably should! Closes #10932 changelog: new lint [`single_range_in_vec_init`]
Diffstat (limited to 'tests/mir-opt/lower_array_len.array_len.NormalizeArrayLen.panic-unwind.diff')
0 files changed, 0 insertions, 0 deletions
