clap/src
Bence Kalmar 4bf3f97d28 fix(arg_enum!): Invalid expansions of some trailing-comma patterns
In particular, fix macros that take an enum of one of the the following forms:

 - `#[...] enum { ... , }`
 - `pub enum { ... , }`
 - `enum { ... , }`

Previously, these expansions would result in an error message like "error: no
rules expected the token `:`".

Add extensive tests for each pattern.  Only two of the patterns had tests
before, so these errors did not surface automatically.
2020-04-10 09:35:20 +02:00
..
build Fix ArgMatcher consuming extra arguments when max_values is set 2020-04-10 09:35:20 +02:00
output remove redundant imports and clone (found by clippy) 2020-03-25 13:43:01 +01:00
parse Fix ArgMatcher consuming extra arguments when max_values is set 2020-04-10 09:35:20 +02:00
util Extract subcommands into separate trait 2020-02-12 23:15:05 +03:00
derive.rs Fix Clap::try_parse_from documentation 2020-02-25 16:50:47 +00:00
lib.rs Update the documentation regarding which features are enabled by default 2020-04-04 13:16:30 -07:00
macros.rs fix(arg_enum!): Invalid expansions of some trailing-comma patterns 2020-04-10 09:35:20 +02:00
mkeymap.rs Remove _some_ of pubs 2020-03-19 10:17:52 +03:00