diff options
| author | Terry Sun <terrynsun@gmail.com> | 2021-10-24 13:34:02 -0700 |
|---|---|---|
| committer | Terry Sun <terrynsun@gmail.com> | 2021-10-24 17:38:45 -0700 |
| commit | 324d7d33e829cf8fd73ce27aebe48f64876fadda (patch) | |
| tree | 5f3b3381e39a05ac12f2cb9f02e16c76eecb4a4f /tests/mir-opt/lower_array_len.array_len_raw.NormalizeArrayLen.diff | |
| parent | 1f47693e02809c97db61b51247ae4e4d46744c61 (diff) | |
| download | rust-324d7d33e829cf8fd73ce27aebe48f64876fadda.tar.gz rust-324d7d33e829cf8fd73ce27aebe48f64876fadda.zip | |
Add assist for replacing turbofish with explicit type.
Converts `::<_>` to an explicit type assignment. ``` let args = args.collect::<Vec<String>>(); ``` -> ``` let args: Vec<String> = args.collect(); ``` Closes #10285
Diffstat (limited to 'tests/mir-opt/lower_array_len.array_len_raw.NormalizeArrayLen.diff')
0 files changed, 0 insertions, 0 deletions
