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
The below example code will generate VehicleDiscriminants enum with Car and Truck variants but it will be repr(usize) instead of inheriting the u8 repr of Vehicle additionally they will have the default enum representations (Car = 0 and Vehicle = 1 in this case)
The below example code will generate
VehicleDiscriminants
enum withCar
andTruck
variants but it will berepr(usize)
instead of inheriting theu8
repr ofVehicle
additionally they will have the default enum representations (Car = 0
andVehicle = 1
in this case)I would have expected the above code to produce the following:
The text was updated successfully, but these errors were encountered: