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