diff options
Diffstat (limited to '')
-rw-r--r-- | vendor/serde_repr/tests/ui/empty_enum.rs | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/vendor/serde_repr/tests/ui/empty_enum.rs b/vendor/serde_repr/tests/ui/empty_enum.rs new file mode 100644 index 000000000..f1fb6f9d5 --- /dev/null +++ b/vendor/serde_repr/tests/ui/empty_enum.rs @@ -0,0 +1,6 @@ +use serde_repr::Serialize_repr; + +#[derive(Serialize_repr)] +enum SmallPrime {} + +fn main() {} |