mirror of
https://github.com/rust-lang/rust.git
synced 2025-10-30 20:44:34 +00:00
Port the "the type parameter `T` must be explicitly specified" diagnostic to using a diagnostic struct. Signed-off-by: David Wood <david.wood@huawei.com>
For high-level intro to how type checking works in rustc, see the type checking chapter of the rustc dev guide.