diff --git a/test/src/test_export_enum.rs b/test/src/test_export_enum.rs index b40cb8698..6dbd64a40 100644 --- a/test/src/test_export_enum.rs +++ b/test/src/test_export_enum.rs @@ -2,7 +2,9 @@ use gdnative::prelude::*; #[derive(Debug, PartialEq, Clone, Copy, Export, ToVariant, FromVariant)] enum Dir { + #[variant(enum = "repr")] Up = 1, + #[variant(enum = "repr")] Down = -1, }