Obtuse diagnostic: overflow evaluating the requirement &_ well-formed
#128397
Labels
A-diagnostics
Area: Messages for errors, warnings, and lints
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
Code
Current output
Desired output
Rationale and extra context
The current error message uses jargon that is probably only understandable by compiler developers, type theory enthusiasts, and possibly some genders of Haskell junkies – in an area of the language very easily encountered by newcomers.
Other cases
Swapping the order of the branches yields very good output:
Rust Version
Anything else?
No response
The text was updated successfully, but these errors were encountered: