rust/compiler/rustc_middle
David Wood 01f65afa4a
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>
2020-09-14 15:21:38 +01:00
..
benches mv compiler to compiler/ 2020-08-30 18:45:07 +03:00
src diag: improve closure/generic parameter mismatch 2020-09-14 15:21:38 +01:00
Cargo.toml Refactor byteorder to std in rustc_middle 2020-09-04 21:51:17 -07:00
README.md mv compiler to compiler/ 2020-08-30 18:45:07 +03:00

For more information about how rustc works, see the rustc dev guide.