1
Fork 0

Add diagnostic struct for const eval error in rustc_middle

Co-authored-by: Michael Goulet <michael@errs.io>
This commit is contained in:
pierwill 2022-10-02 16:02:57 -05:00
parent f47e9af824
commit b9c0467e0c
3 changed files with 13 additions and 5 deletions

View file

@ -15,3 +15,6 @@ middle_previous_use_here =
middle_limit_invalid =
`limit` must be a non-negative integer
.label = {$error_str}
middle_const_eval_non_int =
constant evaluation of enum discriminant resulted in non-integer