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 5927c9f commit 8a4655bCopy full SHA for 8a4655b
tls_codec/derive/tests/decode_bytes.rs
@@ -240,9 +240,9 @@ fn enum_with_custom_serialized_field() {
240
241
#[test]
242
fn that_skip_attribute_on_struct_works() {
243
- fn test<T: DeserializeBytes>(test: T, expected: T)
+ fn test<T>(test: T, expected: T)
244
where
245
- T: std::fmt::Debug + PartialEq + SerializeBytes + Size,
+ T: DeserializeBytes + std::fmt::Debug + PartialEq + SerializeBytes + Size,
246
{
247
let serialized = test.tls_serialize().unwrap();
248
let (deserialized, rest) = T::tls_deserialize_bytes(&serialized).unwrap();
0 commit comments