diff options
| author | bors <bors@rust-lang.org> | 2023-06-15 05:45:41 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2023-06-15 05:45:41 +0000 |
| commit | 2dd452f51bedeaf7042ff0e1c34805be535068ce (patch) | |
| tree | 2857e28b36bdd46d4d49f4bef5053d312e62368c /tests/mir-opt/lower_array_len.array_len.NormalizeArrayLen.panic-unwind.diff | |
| parent | 823d9dd503dd71121383d9c9e596fbdfe85fff3c (diff) | |
| parent | d102e2296c2a507c32f3882b296ee65926dfc32f (diff) | |
| download | rust-2dd452f51bedeaf7042ff0e1c34805be535068ce.tar.gz rust-2dd452f51bedeaf7042ff0e1c34805be535068ce.zip | |
Auto merge of #10931 - y21:issue10000, r=Jarcho
[`unnecessary_fold`]: suggest turbofish if necessary Fixes #10000 This adds turbofish `::<T>` to the suggestion in `unnecessary_fold`. This is necessary because the `Sum` trait is generic, which breaks inference when changing `fold()` to `sum()`. changelog: [`unnecessary_fold`]: suggest turbofish if necessary
Diffstat (limited to 'tests/mir-opt/lower_array_len.array_len.NormalizeArrayLen.panic-unwind.diff')
0 files changed, 0 insertions, 0 deletions
