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

warning: this lint expectation is unfulfilled
  --> tests/simple.rs:17:22
   |
17 | #[flexpect::flexpect(clippy::clone_on_copy)]
   |                      ^^^^^^^^^^^^^^^^^^^^^