Commit fb86e48
authored
Fix the definition of MetaItem and MetaSeq
The current definitions mean that the following are valid attributes:
- `#[foo(,)]`
- `#[foo(, , , , ,)]`
These aren't (intended to be) valid. This fixes the definitions to only allow an EMPTY at the end of a comma-separated list.1 parent 134f419 commit fb86e48
1 file changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
18 | | - | |
| 18 | + | |
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
23 | | - | |
| 23 | + | |
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
| |||
0 commit comments