error: proc-macro derive panicked
--> src/lib.rs:3:37
|
3 | #[derive(Debug, Default, PartialEq, BinRead)]
| ^^^^^^^
|
= help: message: byte index 4 is out of bounds of ``
error: could not compile `binrw_bug` (lib) due to 1 previous error
Removing the blank line allows the code to compile.
I have encountered a minimal test case that reproduces the issue
The full error message is
Removing the blank line allows the code to compile.