Regression: Subcommand attribute not supported for unit type #3211
Labels
C-bug
Category: Updating dependencies
S-waiting-on-author
Status: This is awaiting some action (such as code changes or more information) from the author.
Please complete the following tasks
Rust Version
rustc 1.57.0 (f1edd0429 2021-11-29)
Clap Version
3.0.0-rc.7
Minimal reproducible code
Steps to reproduce the bug with the above code
cargo build produces compilation errors
Actual Behaviour
Expected Behaviour
#[clap(subcommand)] macro is supported for unit structs according to #3094
Additional Context
No response
Debug Output
No response
The text was updated successfully, but these errors were encountered: