binrw 0.11.2

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
12
13
error[E0308]: mismatched types
  --> tests/ui/invalid_assert_condition.rs:4:13
   |
4  | #[br(assert("wrong type"))]
   |      ------ ^^^^^^^^^^^^ expected `bool`, found `&str`
   |      |
   |      arguments to this function are incorrect
   |
note: function defined here
  --> src/private.rs
   |
   | pub fn assert<MsgFn, Msg, ErrorFn, Err>(
   |        ^^^^^^