Allow `true` and `false` keywords in const generics
2 files changed, 20 insertions, 10 deletions
|
|
@@ -1,5 +1,5 @@ |
1 | SOURCE_FILE@0..46 |
1 | SOURCE_FILE@0..59 |
2 | TYPE_ALIAS@0..45 |
2 | [email protected]8 |
3 | [email protected] "type" |
3 | [email protected] "type" |
4 | [email protected] " " |
4 | [email protected] " " |
5 | [email protected] |
5 | [email protected] |
@@ -7,12 +7,12 @@ [email protected] |
7 | [email protected] " " |
7 | [email protected] " " |
8 | [email protected] "=" |
8 | [email protected] "=" |
9 | [email protected] " " |
9 | [email protected] " " |
10 | PATH_TYPE@9..44 |
10 | PATH_TYPE@9..57 |
11 | PATH@9..44 |
11 | PATH@9..57 |
12 | PATH_SEGMENT@9..44 |
12 | PATH_SEGMENT@9..57 |
13 | [email protected] |
13 | [email protected] |
14 | [email protected] "B" |
14 | [email protected] "B" |
15 | GENERIC_ARG_LIST@10..44 |
15 | GENERIC_ARG_LIST@10..57 |
16 | [email protected] "<" |
16 | [email protected] "<" |
17 | [email protected] |
17 | [email protected] |
18 | [email protected] |
18 | [email protected] |
@@ -51,6 +51,16 @@ [email protected] |
51 | [email protected] |
51 | [email protected] |
52 | [email protected] |
52 | [email protected] |
53 | [email protected] "u64" |
53 | [email protected] "u64" |
54 | [email protected] ">" |
54 | [email protected] "," |
55 | [email protected] ";" |
55 | [email protected] " " |
56 | [email protected] "\n" |
56 | [email protected] |
| |
57 | [email protected] |
| |
58 | [email protected] "true" |
| |
59 | [email protected] "," |
| |
60 | [email protected] " " |
| |
61 | [email protected] |
| |
62 | [email protected] |
| |
63 | [email protected] "false" |
| |
64 | [email protected] ">" |
| |
65 | [email protected] ";" |
| |
66 | [email protected] "\n" |
|
|
|
@@ -1 +1 @@ |
| type A = B<'static, i32, 1, { 2 }, Item=u64>; |
| type A = B<'static, i32, 1, { 2 }, Item=u64, true, false>; |
|