Skip to content

Commit

Permalink
Fix read_all conflicting span
Browse files Browse the repository at this point in the history
  • Loading branch information
wcampbell0x2a committed Sep 4, 2024
1 parent 61bba22 commit 7306c4a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion deku-derive/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -603,7 +603,7 @@ impl FieldData {
|| (data.bits_read.is_some() || data.bytes_read.is_some()))
{
return Err(cerror(
data.bits.span(),
data.read_all.span(),
"conflicting: `read_all` cannot be used with `until`, `count`, `bits_read`, or `bytes_read`",
));
}
Expand Down

0 comments on commit 7306c4a

Please sign in to comment.