diff options
Diffstat (limited to '')
-rw-r--r-- | vendor/serde_repr/tests/ui/not_enum.rs | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/vendor/serde_repr/tests/ui/not_enum.rs b/vendor/serde_repr/tests/ui/not_enum.rs new file mode 100644 index 000000000..92a1d746d --- /dev/null +++ b/vendor/serde_repr/tests/ui/not_enum.rs @@ -0,0 +1,11 @@ +use serde_repr::Serialize_repr; + +#[derive(Serialize_repr)] +struct SmallPrime { + two: u8, + three: u8, + five: u8, + seven: u8, +} + +fn main() {} |