clap/clap_derive/src
Ed Page 3a697af253 fix(derive): Avoid name collisions with users
PR #2751 highlighted a problem we have where the variable names we use
could collide with users.  Rather than parse out when or not to use
special names, and worry about people keeping that up to date through
refactors, I globally renamed all variables by adding a `__clap_`
prefix, which looks like what serde does to solve this problem.

I audited the result with `cargo expand`.  I didn't add any tests
because any tests would be reactionary and would give us a false sense
of protection since any new code could hit this with anything we do.
Our best route for naming is consistency so people are likely to notice
and copy.

Fixes #2934
2021-10-23 12:55:30 -05:00
..
derives fix(derive): Avoid name collisions with users 2021-10-23 12:55:30 -05:00
utils fix(derive)!: Rename Clap to Parser. 2021-10-09 20:12:03 -05:00
attrs.rs fix ArgEnum multiline doc comment 2021-10-19 18:34:54 +03:00
dummies.rs fix!: Rename ArgValue to PossibleValue 2021-10-19 10:10:37 -05:00
lib.rs Release 3.0.0-beta.5 2021-10-17 17:01:18 +01:00
parse.rs fix(derive): Ensure App help_heading is applied 2021-10-15 14:19:16 -05:00