1 error[E0308]: mismatched types
4 LL | test(array.len());
5 | ^^^^^^^^^^^ expected `u32`, found `usize`
7 help: you can convert a `usize` to a `u32` and panic if the converted value doesn't fit
9 LL | test(array.len().try_into().unwrap());
10 | ++++++++++++++++++++
12 error: aborting due to previous error
14 For more information about this error, try `rustc --explain E0308`.