Add diagnostic struct for const eval error in rustc_middle
Co-authored-by: Michael Goulet <michael@errs.io>
This commit is contained in:
parent
f47e9af824
commit
b9c0467e0c
3 changed files with 13 additions and 5 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue