Closed Cthutu closed 5 months ago
By running cargo update
, it seemed to fix itself. Not sure if it is a local issue or not.
Also tried those reproduction steps and they didn't work for me. Sometimes cargo can get into weird states when multiple dependencies are present. Were those your actual steps or was this only on an existing project?
Please complete the following tasks
Rust Version
rustc 1.77.2
Clap Version
4.5.4
Minimal reproducible code
Steps to reproduce the bug with the above code
Add clap using
cargo add clap -F derive
.Actual Behaviour
Expected Behaviour
Derive feature should be added without error.
Additional Context
No response
Debug Output
Can't compile clap.