We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent da3998a commit a1ddb18Copy full SHA for a1ddb18
test_suite/tests/regression/issue2415.rs
@@ -2,4 +2,5 @@ use serde_derive::Serialize;
2
3
#[derive(Serialize)]
4
#[serde()]
5
+#[allow(dead_code)]
6
pub struct S;
test_suite/tests/test_gen.rs
@@ -805,6 +805,8 @@ fn test_gen() {
805
pub vec: Vec<Self>,
806
}
807
808
+ assert_ser::<Struct>();
809
+
810
#[derive(Deserialize)]
811
#[serde(bound(deserialize = "[&'de str; N]: Copy"))]
812
pub struct GenericUnitStruct<const N: usize>;
0 commit comments