Const values in traits not treated the same as global const values for const_err
#89063
Labels
C-bug
Category: This is a bug.
const_err
#89063
The following code only reports one error instead of two:
The
COUNT
variable inside of theConstants
implementation does not trigger aconst_err
error whereOTHER_COUNT
does.Rust Playground Link
The text was updated successfully, but these errors were encountered: