serde/test_suite/tests/expand/named_tuple.rs
2019-11-25 23:57:34 -08:00

8 lines
190 B
Rust

use serde::{Deserialize, Serialize};
#[derive(Serialize)]
struct SerNamedTuple<'a, 'b, A: 'a, B: 'b, C>(&'a A, &'b mut B, C);
#[derive(Deserialize)]
struct DeNamedTuple<A, B, C>(A, B, C);