JohnTitor / ctest2

Automatic testing of FFI bindings for Rust
https://crates.io/crates/ctest2
Apache License 2.0
22 stars 21 forks source link

Fails to parse `_` as a const identifier #38

Open joshtriplett opened 2 years ago

joshtriplett commented 2 years ago
  error: expected identifier, found `_`
     --> ../src/fixed_width_ints.rs:64:23
      |
  64  |                   const _: [(); $a] = [(); $b];

ctest2 needs to be using a parsing library that can handle newer Rust.