rust/compiler/rustc_typeck
Dylan DPC 139749934b
Rollup merge of #84520 - hameerabbasi:fn-as-ty, r=lcnr
Improve diagnostics for function passed when a type was expected.

This PR improves diagnostics, it provides more information when a function is passed where a type is expected.

r? `@lcnr`
2021-04-25 23:15:16 +02:00
..

For high-level intro to how type checking works in rustc, see the type checking chapter of the rustc dev guide.