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 1a13ba8 commit d398e2fCopy full SHA for d398e2f
tests/test.rs
@@ -485,6 +485,7 @@ fn test_nested_structs_deserialization() {
485
}
486
487
pub const SIZE: usize = 10;
488
+pub const SIZE_U8: u8 = 15;
489
490
pub mod dummy_mod {
491
pub const SIZE: usize = 20;
@@ -497,12 +498,14 @@ fn test_versionize_struct_with_array() {
497
498
a: [u32; SIZE],
499
b: [u8; dummy_mod::SIZE],
500
c: Option<[i16; SIZE]>,
501
+ d: [u8; SIZE_U8 as usize],
502
503
504
let test_struct = TestStruct {
505
a: [1; SIZE],
506
b: [2; dummy_mod::SIZE],
507
c: Some([3; SIZE]),
508
+ d: [4; SIZE_U8 as usize],
509
};
510
511
let mut mem = vec![0; 4096];
0 commit comments