clap/tests/derive_ui/flatten_and_methods.stderr
Ed Page f9ad2c5f09 fix(derive): Guard against invalid attributes
We had some guards but this generalizes them and puts them on every
attribute.
2022-09-02 19:26:03 -05:00

5 lines
180 B
Text

error: methods are not allowed for flattened entry
--> tests/derive_ui/flatten_and_methods.rs:22:15
|
22 | #[command(flatten, version = "foo")]
| ^^^^^^^