about summary refs log tree commit diff
path: root/tvix/nix-compat-derive-tests/tests/ui/parse_bad_nix.rs
blob: 690e76a20fe6920f1b7fab3e33cb07eec8e9e4e4 (plain) (blame)
1
2
3
4
5
6
7
8
9
use nix_compat_derive::NixDeserialize;

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

fn main() {}