[饾榾饾椊饾椏] initial version #220
Annotations
2 errors and 1 warning
this looks like you are trying to swap `__clap_subcommand` and `Subcommand`:
spr/src/main.rs#L51
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)
|
clippy_check
Clippy had exited with the 101 exit code
|
clippy_check
Node.js 12 actions are deprecated. Please update the following actions to use Node.js 16: actions-rs/clippy-check@v1. For more information see: https://github.blog/changelog/2022-09-22-github-actions-all-actions-will-begin-running-on-node16-instead-of-node12/.
|