mirror of
https://github.com/allankoechke/rust.git
synced 2026-12-03 17:48:43 +00:00
fix incomplete diagnostic notes when closure returns conflicting for genric type fixes #84128 Correctly report the span on for conflicting return type in closures
For high-level intro to how type checking works in rustc, see the type checking chapter of the rustc dev guide.