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
This issue is unrelated to enums. The real problem here is using assert!(a, b), which causes an ICE instead of giving a compile error (see issue #15901). Using assert_eq!(a, b) or assert!(a == b) is the right thing to do and won't cause problems.
Code to reproduce the error:
Result:
rustc -v :
OS: OSX
The text was updated successfully, but these errors were encountered: