mirror of
https://github.com/clap-rs/clap
synced 2024-11-14 00:27:13 +00:00
f9ad2c5f09
We had some guards but this generalizes them and puts them on every attribute.
5 lines
198 B
Text
5 lines
198 B
Text
error: methods in attributes are not allowed for subcommand
|
|
--> tests/derive_ui/subcommand_and_methods.rs:16:15
|
|
|
|
|
16 | #[command(subcommand, version = "foo")]
|
|
| ^^^^^^^^^^
|