You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Infers type of constants used as discriminants and ensures they are
integral, instead of forcing them to be a signed integer.
Also, stores discriminant values as uint instead of int interally and
deals with related fallout.
Fixes issue rust-lang#7994
Currently, the following fails to compile, with errors about expecting int instead of uint:
Is there any reason why this should be disallowed?
The text was updated successfully, but these errors were encountered: