serde/test_suite/tests/expand/named_tuple.rs

8 lines
190 B
Rust
Raw Normal View History

2019-11-26 01:57:34 -06:00
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);