8000 Lint errors with Rust 1.73 beta (part 2) · Issue #678 · heroku/libcnb.rs · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
Lint errors with Rust 1.73 beta (part 2) #678
Closed
@edmorley

Description

@edmorley

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

GUS-W-14160797.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

    0