File: variable_length_fields.stderr

package info (click to toggle)
rust-pnet-macros 0.35.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 384 kB
  • sloc: makefile: 2
file content (5 lines) | stat: -rw-r--r-- 291 bytes parent folder | download
1
2
3
4
5
error: variable length field must have #[length = ""] or #[length_fn = ""] attribute
  --> tests/compile-fail/variable_length_fields.rs:16:17
   |
16 |     var_length: Vec<u8>, //~ ERROR: variable length field must have #[length = ""] or #[length_fn = ""] attribute
   |                 ^^^