Reduce nesting of macrotest test cases

This commit is contained in:
David Tolnay
2019-11-24 17:25:04 -08:00
parent d17d8eb3ee
commit c371563bfc
23 changed files with 1 additions and 2 deletions
+7
View File
@@ -0,0 +1,7 @@
use serde::{Serialize, Deserialize};
#[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);