rust/compiler/rustc_typeck
David Wood 5685abc96b typeck: simplify error type using () field
Using new support for spanless subdiagnostics from `()` fields in the
diagnostic derive, simplify the "explicit generic args with impl trait"
diagnostic's struct.

Signed-off-by: David Wood <david.wood@huawei.com>
2022-05-12 07:21:51 +01:00
..

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