Unpredictable what derive attributes allow only literals vs expressions #3173
Labels
A-derive
Area: #[derive]` macro API
C-bug
Category: Updating dependencies
S-waiting-on-mentor
Status: Needs elaboration on the details before doing a 'Call for participation'
Please complete the following tasks
Rust Version
rustc 1.55.0 (c8dfcfe04 2021-09-06)
Clap Version
v3.0.0-beta.4
Minimal reproducible code
N/A
Steps to reproduce the bug with the above code
Use various attributes without reading the code or documentation
Actual Behaviour
Some will work as literals while others allow any expression
Expected Behaviour
Be consistent. Solving this through documentation will lead to either
Additional Context
No response
Debug Output
No response
The text was updated successfully, but these errors were encountered: