76994625f8
feat: implement better error for manual impl of `Fn*` traits Fixes #39259 cc `@estebank` (you gave me some advice in the linked issue, would you like to review?)
For high-level intro to how type checking works in rustc, see the type checking chapter of the rustc dev guide.