Skip to content
GitHub Actions / Clippy Output failed Jun 26, 2023 in 0s

Clippy Output

2 errors

Details

Results

Message level Amount
Internal compiler error 0
Error 2
Warning 0
Note 0
Help 0

Versions

  • rustc 1.70.0 (90c541806 2023-05-31)
  • cargo 1.70.0 (ec8a8a0ca 2023-04-25)
  • clippy 0.1.70 (90c5418 2023-05-31)

Annotations

Check failure on line 111 in crates/rustic_core/src/commands/forget.rs

See this annotation in the file changed.

@github-actions github-actions / Clippy Output

you are deriving `PartialEq` and can implement `Eq`

error: you are deriving `PartialEq` and can implement `Eq`
   --> crates/rustic_core/src/commands/forget.rs:111:24
    |
111 | #[derive(Clone, Debug, PartialEq, Derivative, clap::Parser, Deserialize, Merge)]
    |                        ^^^^^^^^^ help: consider deriving `Eq` as well: `PartialEq, Eq`
    |
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#derive_partial_eq_without_eq
    = note: `-D clippy::derive-partial-eq-without-eq` implied by `-D warnings`

Check failure on line 56 in crates/rustic_core/src/commands/forget.rs

See this annotation in the file changed.

@github-actions github-actions / Clippy Output

collection is never read

error: collection is never read
  --> crates/rustic_core/src/commands/forget.rs:56:5
   |
56 |     let mut forget_snaps = Vec::new();
   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   |
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#collection_is_never_read
   = note: `-D clippy::collection-is-never-read` implied by `-D warnings`