flexpect 0.1.1

#[flexpect::e(...)] compiles to #[expect(...)] for newer versions of Rust and to #[allow(...)] when not supported.
Documentation
1
2
3
4
5
6
7
warning: unused variable: `x`
 --> tests/simple.rs:4:9
  |
4 |     let x = 1;
  |         ^ help: consider prefixing with an underscore: `_x`
  |
  = note: `#[warn(unused_variables)]` on by default