1 2 3 4 5
error: a module field of type `Array` needs a role: use `Param` for a parameter, `#[tree(buffer)]` for a buffer, or `#[tree(skip)]` for a computed constant --> tests/ui/derive/fail_module_bare_array.rs:6:13 | 6 | weight: Array, | ^^^^^