Determining that enumerations only have Variant equal
Examples
use ;
use *;
assert!;
assert!;
assert!;
Errors
EnumVariantEq
only applies to enumerations. If it is violated, the compilation will panic
;
error: #[derive(Debug, EnumVariantEq)]
| ^^^^^^^^^^^^^
= help: message: Type Is Not Enum
Other:
Build Ast Error