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








                                      
use nix_compat_derive::NixDeserialize;

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

fn main() {}