37c569627c
Refactor constant evaluation to use a single error reporting function that reports a type-error-like message. Also, unify all error codes with the "constant evaluation error" message to just E0080, and similarly for a few other duplicate codes. The old situation was a total mess, and now that we have *something* we can further iterate on the UX. |
||
---|---|---|
.. | ||
Cargo.toml | ||
check_match.rs | ||
diagnostics.rs | ||
eval.rs | ||
lib.rs |