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/submod.rs:16:22
   |
16 | #[flexpect::flexpect(unused_variables, clippy::clone_on_copy)]
   |                      ^^^^^^^^^^^^^^^^
   |
   = note: `#[warn(unfulfilled_lint_expectations)]` on by default

warning: this lint expectation is unfulfilled
  --> tests/submod.rs:16:40
   |
16 | #[flexpect::flexpect(unused_variables, clippy::clone_on_copy)]
   |                                        ^^^^^^^^^^^^^^^^^^^^^