about summary refs log blame commit diff
path: root/tvix/nix-compat-derive-tests/tests/ui/parse_bad_default_path.rs
blob: fbde8ffbc2b065131372eadd57ff4207d5fba32e (plain) (tree)
1
2
3
4
5
6
7
8
9








                                      
use nix_compat_derive::NixDeserialize;

#[derive(NixDeserialize)]
pub struct Test {
    #[nix(default = "12")]
    version: u8,
}

fn main() {}