diff options
| author | Chayim Refael Friedman <chayimfr@gmail.com> | 2022-08-31 01:07:41 +0000 |
|---|---|---|
| committer | Chayim Refael Friedman <chayimfr@gmail.com> | 2022-08-31 01:07:41 +0000 |
| commit | e5e979906b86472ec63846b5ab03b59f122fedec (patch) | |
| tree | 44ac829b5a236e21f7eb9daaad54b296e79cb009 /tests/mir-opt/lower_array_len.array_bound.NormalizeArrayLen.panic-unwind.diff | |
| parent | e8e598f6415461e7fe957eec1bee6afb55927d59 (diff) | |
| download | rust-e5e979906b86472ec63846b5ab03b59f122fedec.tar.gz rust-e5e979906b86472ec63846b5ab03b59f122fedec.zip | |
Use type information to deduce the correct type for "Replace turbofish with explicit type", even when it is not exactly the same as the turbofish type
I implemented that by checking the expressions' type. This could probably be implemented better by taking the function's return type and substituting the generic parameter with the provided turbofish, but this is more complicated.
Diffstat (limited to 'tests/mir-opt/lower_array_len.array_bound.NormalizeArrayLen.panic-unwind.diff')
0 files changed, 0 insertions, 0 deletions
