diff options
Diffstat (limited to 'tvix/nix-compat-derive-tests/tests/ui/parse_mising_version.rs')
-rw-r--r-- | tvix/nix-compat-derive-tests/tests/ui/parse_mising_version.rs | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/tvix/nix-compat-derive-tests/tests/ui/parse_mising_version.rs b/tvix/nix-compat-derive-tests/tests/ui/parse_mising_version.rs new file mode 100644 index 000000000000..9eaa743ed2b6 --- /dev/null +++ b/tvix/nix-compat-derive-tests/tests/ui/parse_mising_version.rs @@ -0,0 +1,9 @@ +use nix_compat_derive::NixDeserialize; + +#[derive(NixDeserialize)] +pub struct Test { + #[nix(version)] + version: u8, +} + +fn main() {} |