about summary refs log blame commit diff
path: root/tvix/nix-compat-derive-tests/tests/ui/deserialize_remote_missing_attr.rs
blob: cc2ab5bfbc116d0d7179607fffc6a093707f3a72 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15














                                              
use nix_compat_derive::nix_deserialize_remote;

pub struct Value(String);
impl From<String> for Value {
    fn from(s: String) -> Value {
        Value(s)
    }
}

nix_deserialize_remote!(
    #[nix()]
    Value
);

fn main() {}