diff --git a/test_suite/tests/test_gen.rs b/test_suite/tests/test_gen.rs index 97b0a96e9..eca197cd3 100644 --- a/test_suite/tests/test_gen.rs +++ b/test_suite/tests/test_gen.rs @@ -387,6 +387,7 @@ fn test_gen() { #[derive(Serialize, Deserialize)] #[serde(remote = "Str")] + #[allow(dead_code)] // FIXME struct StrDef<'a>(&'a str); #[derive(Serialize, Deserialize)] diff --git a/test_suite/tests/test_remote.rs b/test_suite/tests/test_remote.rs index c1f152eb8..0c0827c9f 100644 --- a/test_suite/tests/test_remote.rs +++ b/test_suite/tests/test_remote.rs @@ -140,6 +140,7 @@ struct PrimitivePrivDef(#[serde(getter = "remote::PrimitivePriv::get")] u8); #[derive(Serialize, Deserialize)] #[serde(remote = "remote::PrimitivePub")] +#[allow(dead_code)] // FIXME struct PrimitivePubDef(u8); #[derive(Serialize, Deserialize)] @@ -159,6 +160,7 @@ struct TuplePrivDef( #[derive(Serialize, Deserialize)] #[serde(remote = "remote::TuplePub")] +#[allow(dead_code)] // FIXME struct TuplePubDef(u8, #[serde(with = "UnitDef")] remote::Unit); #[derive(Serialize, Deserialize)] @@ -196,6 +198,7 @@ struct StructConcrete { #[derive(Serialize, Deserialize)] #[serde(remote = "remote::EnumGeneric")] +#[allow(dead_code)] // FIXME enum EnumConcrete { Variant(u8), }