diff options
| author | Ralf Jung <post@ralfj.de> | 2020-09-28 18:39:42 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-09-28 18:39:42 +0200 |
| commit | 88ae20d8aa44f1f0fadddfa5c529784732d7b101 (patch) | |
| tree | 494b12c442bb620d75e3266b871d0ca176ab8819 /src/test/codegen/src-hash-algorithm/src-hash-algorithm-md5.rs | |
| parent | 6a8cdbd285eca75024809ac12b8badb7f38128b7 (diff) | |
| parent | 01f65afa4adff6dfbea84621e6851c028aaa7159 (diff) | |
| download | rust-88ae20d8aa44f1f0fadddfa5c529784732d7b101.tar.gz rust-88ae20d8aa44f1f0fadddfa5c529784732d7b101.zip | |
Rollup merge of #76711 - davidtwco:issue-51154-param-closure, r=estebank
diag: improve closure/generic parameter mismatch Fixes #51154. This PR 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. r? @estebank
Diffstat (limited to 'src/test/codegen/src-hash-algorithm/src-hash-algorithm-md5.rs')
0 files changed, 0 insertions, 0 deletions
