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: this lint expectation is unfulfilled
  --> tests/simple.rs:14:22
   |
14 | #[flexpect::flexpect(unused_variables)]
   |                      ^^^^^^^^^^^^^^^^
   |
   = note: `#[warn(unfulfilled_lint_expectations)]` on by default