diff options
| author | David Wood <david@davidtw.co> | 2020-09-14 15:21:38 +0100 |
|---|---|---|
| committer | David Wood <david@davidtw.co> | 2020-09-14 15:21:38 +0100 |
| commit | 01f65afa4adff6dfbea84621e6851c028aaa7159 (patch) | |
| tree | 53426d492d50b6db269e91bce49a8a6196b22263 /src/test/codegen/src-hash-algorithm/src-hash-algorithm-md5.rs | |
| parent | b5f55b7e1562286798358730e06b0ba13b4c0ea6 (diff) | |
| download | rust-01f65afa4adff6dfbea84621e6851c028aaa7159.tar.gz rust-01f65afa4adff6dfbea84621e6851c028aaa7159.zip | |
diag: improve closure/generic parameter mismatch
This commit improves the diagnostic when a type parameter is expected and a closure is found, noting that each closure has a distinct type and therefore could not always match the caller-chosen type of the parameter. Signed-off-by: David Wood <david@davidtw.co>
Diffstat (limited to 'src/test/codegen/src-hash-algorithm/src-hash-algorithm-md5.rs')
0 files changed, 0 insertions, 0 deletions
