binread 2.2.0

A Rust crate for helping read structs from binary data using ✨macro magic✨
Documentation
1
2
3
4
5
6
7
8
9
10
11
error[E0308]: mismatched types
 --> $DIR/invalid_assert_condition.rs:4:13
  |
4 | #[br(assert("wrong type"))]
  |             ^^^^^^^^^^^^ expected `bool`, found `&str`
  |
note: return type inferred to be `bool` here
 --> $DIR/invalid_assert_condition.rs:3:10
  |
3 | #[derive(BinRead)]
  |          ^^^^^^^