binrw 0.15.2

A Rust crate for helping read structs from binary data using ✨macro magic✨
Documentation
error[E0425]: cannot find value `does_not_exist` in this scope
 --> tests/ui/invalid_assert_variable.rs:4:13
  |
4 | #[br(assert(does_not_exist == 0))]
  |             ^^^^^^^^^^^^^^ not found in this scope

error[E0425]: cannot find value `a` in this scope
  --> tests/ui/invalid_assert_variable.rs:11:13
   |
11 | #[br(assert(a == 0))]
   |             ^
   |
help: a local variable with a similar name exists
   |
11 - #[br(assert(a == 0))]
11 + #[br(assert(b == 0))]
   |

error[E0425]: cannot find value `a` in this scope
  --> tests/ui/invalid_assert_variable.rs:21:17
   |
21 |     #[br(assert(a == 0))]
   |                 ^
   |
help: a local variable with a similar name exists
   |
21 -     #[br(assert(a == 0))]
21 +     #[br(assert(b == 0))]
   |