Closed
Description
The various lint errors seen with Rust 1.73 were handled previously in #671 / #672.
However, some more are now present after #666:
$ cargo clippy --all-targets
warning: matching over `()` is more explicit
--> libcnb-test/tests/integration_test.rs:74:12
|
74 | Ok(_) => panic!("expected a failure"),
| ^ help: use `()` instead of `_`: `()`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#ignored_unit_patterns
note: the lint level is defined here
--> libcnb-test/tests/integration_test.rs:8:9
|
8 | #![warn(clippy::pedantic)]
| ^^^^^^^^^^^^^^^^
= note: `#[warn(clippy::ignored_unit_patterns)]` implied by `#[warn(clippy::pedantic)]`
warning: matching over `()` is more explicit
--> libcnb-test/tests/integration_test.rs:154:12
|
154 | Ok(_) => panic!("expected a failure"),
| ^ help: use `()` instead of `_`: `()`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#ignored_unit_patterns