Skip to content

[饾榾饾椊饾椏] initial version #220

[饾榾饾椊饾椏] initial version

[饾榾饾椊饾椏] initial version #220

GitHub Actions / clippy failed Jun 2, 2023 in 0s

clippy

1 error

Details

Results

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

Versions

  • rustc 1.69.0 (84c898d65 2023-04-16)
  • cargo 1.69.0 (6e9a83356 2023-04-12)
  • clippy 0.1.69 (84c898d 2023-04-16)

Annotations

Check failure on line 51 in spr/src/main.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

this looks like you are trying to swap `__clap_subcommand` and `Subcommand`

error: this looks like you are trying to swap `__clap_subcommand` and `Subcommand`
  --> spr/src/main.rs:51:10
   |
51 | #[derive(Subcommand, Debug)]
   |          ^^^^^^^^^^
   |
   = note: or maybe you should use `std::mem::replace`?
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#almost_swapped
note: the lint level is defined here
  --> spr/src/main.rs:51:10
   |
51 | #[derive(Subcommand, Debug)]
   |          ^^^^^^^^^^
   = note: `#[deny(clippy::almost_swapped)]` implied by `#[deny(clippy::correctness)]`
   = note: this error originates in the derive macro `Subcommand` (in Nightly builds, run with -Z macro-backtrace for more info)