mirror of
https://github.com/rust-lang/rust.git
synced 2025-11-25 03:16:52 +00:00
When an obligation is introduced by a specific `fn` argument, point at the argument instead of the `fn` call if the obligation fails to be fulfilled.
For high-level intro to how type checking works in rustc, see the type checking chapter of the rustc dev guide.