@@ -2,10 +2,18 @@ error: expected one of `>`, a const expression, lifetime, or type, found `}`
2
2
--> $DIR/issue-84117.rs:2:67
3
3
|
4
4
LL | let outer_local:e_outer<&str, { let inner_local:e_inner<&str, }
5
- | ------------ ^ expected one of `>`, a const expression, lifetime, or type
6
- | | |
7
- | | help: use `=` if you meant to assign
5
+ | ----------- ^ expected one of `>`, a const expression, lifetime, or type
6
+ | |
8
7
| while parsing the type for `inner_local`
8
+ |
9
+ help: you might have meant to end the type parameters here
10
+ |
11
+ LL | let outer_local:e_outer<&str, { let inner_local:e_inner<&str>, }
12
+ | +
13
+ help: use `=` if you meant to assign
14
+ |
15
+ LL | let outer_local:e_outer<&str, { let inner_local =e_inner<&str, }
16
+ | ~
9
17
10
18
error: expected one of `!`, `.`, `::`, `;`, `?`, `else`, `{`, or an operator, found `,`
11
19
--> $DIR/issue-84117.rs:2:65
@@ -17,21 +25,36 @@ error: expected one of `,`, `:`, `=`, or `>`, found `}`
17
25
--> $DIR/issue-84117.rs:8:1
18
26
|
19
27
LL | let outer_local:e_outer<&str, { let inner_local:e_inner<&str, }
20
- | ------------ help: use `=` if you meant to assign - expected one of `,`, `:`, `=`, or `>`
21
- | |
22
- | while parsing the type for `outer_local`
28
+ | ----------- while parsing the type for `outer_local` - expected one of `,`, `:`, `=`, or `>`
23
29
...
24
30
LL | }
25
31
| ^ unexpected token
32
+ |
33
+ help: you might have meant to end the type parameters here
34
+ |
35
+ LL | let outer_local:e_outer<&str, { let inner_local:e_inner<&str, }>
36
+ | +
37
+ help: use `=` if you meant to assign
38
+ |
39
+ LL | let outer_local =e_outer<&str, { let inner_local:e_inner<&str, }
40
+ | ~
26
41
27
42
error: expected one of `>`, a const expression, lifetime, or type, found `}`
28
43
--> $DIR/issue-84117.rs:2:67
29
44
|
30
45
LL | let outer_local:e_outer<&str, { let inner_local:e_inner<&str, }
31
- | ------------ ^ expected one of `>`, a const expression, lifetime, or type
32
- | | |
33
- | | help: use `=` if you meant to assign
46
+ | ----------- ^ expected one of `>`, a const expression, lifetime, or type
47
+ | |
34
48
| while parsing the type for `inner_local`
49
+ |
50
+ help: you might have meant to end the type parameters here
51
+ |
52
+ LL | let outer_local:e_outer<&str, { let inner_local:e_inner<&str>, }
53
+ | +
54
+ help: use `=` if you meant to assign
55
+ |
56
+ LL | let outer_local:e_outer<&str, { let inner_local =e_inner<&str, }
57
+ | ~
35
58
36
59
error: expected one of `!`, `.`, `::`, `;`, `?`, `else`, `{`, or an operator, found `,`
37
60
--> $DIR/issue-84117.rs:2:65
0 commit comments