Debian Codegraph @

tests/compile-fail/variable_length_fields.stderr

raw
1 error: variable length field must have #[length = ""] or #[length_fn = ""] attribute
2 --> tests/compile-fail/variable_length_fields.rs:16:17
3 |
4 16 | var_length: Vec<u8>, //~ ERROR: variable length field must have #[length = ""] or #[length_fn = ""] attribute
5 | ^^^