You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
error: this looks like you are trying to swap __clap_subcommand and Parser
--> src/test/test.rs:57:17
|
57 | #[derive(Debug, Parser)]
| ^^^^^^
|
= 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
Expected Behaviour
Should not fail.
Additional Context
Looks like it's related to this closed issue: #4733
Debug Output
No response
The text was updated successfully, but these errors were encountered:
Please complete the following tasks
Rust Version
rustc 1.69.0 (84c898d65 2023-04-16)
Clap Version
Multiple versions in my Cargo.lock: 2.34.0, 3.2.23, 4.2.1
Minimal reproducible code
Steps to reproduce the bug with the above code
cargo clippy
Actual Behaviour
error: this looks like you are trying to swap
__clap_subcommand
andParser
--> src/test/test.rs:57:17
|
57 | #[derive(Debug, Parser)]
| ^^^^^^
|
= 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
Expected Behaviour
Should not fail.
Additional Context
Looks like it's related to this closed issue: #4733
Debug Output
No response
The text was updated successfully, but these errors were encountered: