diff options
| author | Niko Matsakis <niko@alum.mit.edu> | 2020-11-20 05:52:27 -0500 |
|---|---|---|
| committer | Mark Rousskov <mark.simulacrum@gmail.com> | 2021-08-19 17:28:24 -0400 |
| commit | 5eca626e4025fc4f4695aeba03cd60b344001378 (patch) | |
| tree | 1b4bdf292e78ebbbc2744b84904f6a863adcb6fe /src/test/codegen/src-hash-algorithm | |
| parent | 7e0ae7d89bcbf5174ab2d5198c438cfd0bebd4e8 (diff) | |
| download | rust-5eca626e4025fc4f4695aeba03cd60b344001378.tar.gz rust-5eca626e4025fc4f4695aeba03cd60b344001378.zip | |
shallow resolve target type in coercion
We used to avoid doing this because we didn't want to make coercion depend on the state of inference. For better or worse, we have moved away from this position over time. Therefore, I am going to go ahead and resolve the `b` target type early on so that it is done uniformly. (The older technique for managing this was always something of a hack regardless; if we really wanted to avoid integrating coercion and inference we needed to be more disciplined about it.)
Diffstat (limited to 'src/test/codegen/src-hash-algorithm')
0 files changed, 0 insertions, 0 deletions
