summaryrefslogtreecommitdiffstats
path: root/tests/ui/parser/issues/issue-84117.stderr
blob: 237bc11bd060ddfc37d86df2af234a99a0d6d23f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
error: expected one of `>`, a const expression, lifetime, or type, found `}`
  --> $DIR/issue-84117.rs:2:67
   |
LL |     let outer_local:e_outer<&str, { let inner_local:e_inner<&str, }
   |                                         -----------               ^ expected one of `>`, a const expression, lifetime, or type
   |                                         |
   |                                         while parsing the type for `inner_local`
   |
help: you might have meant to end the type parameters here
   |
LL |     let outer_local:e_outer<&str, { let inner_local:e_inner<&str>, }
   |                                                                 +
help: use `=` if you meant to assign
   |
LL |     let outer_local:e_outer<&str, { let inner_local =e_inner<&str, }
   |                                                     ~

error: expected one of `!`, `.`, `::`, `;`, `?`, `else`, `{`, or an operator, found `,`
  --> $DIR/issue-84117.rs:2:65
   |
LL |     let outer_local:e_outer<&str, { let inner_local:e_inner<&str, }
   |                                                                 ^ expected one of 8 possible tokens

error: expected one of `,` or `>`, found `}`
  --> $DIR/issue-84117.rs:8:1
   |
LL |     let outer_local:e_outer<&str, { let inner_local:e_inner<&str, }
   |         ----------- while parsing the type for `outer_local`       - expected one of `,` or `>`
...
LL | }
   | ^ unexpected token
   |
help: you might have meant to end the type parameters here
   |
LL |     let outer_local:e_outer<&str, { let inner_local:e_inner<&str, }>
   |                                                                    +
help: use `=` if you meant to assign
   |
LL |     let outer_local =e_outer<&str, { let inner_local:e_inner<&str, }
   |                     ~

error: expected one of `>`, a const expression, lifetime, or type, found `}`
  --> $DIR/issue-84117.rs:2:67
   |
LL |     let outer_local:e_outer<&str, { let inner_local:e_inner<&str, }
   |                                         -----------               ^ expected one of `>`, a const expression, lifetime, or type
   |                                         |
   |                                         while parsing the type for `inner_local`
   |
help: you might have meant to end the type parameters here
   |
LL |     let outer_local:e_outer<&str, { let inner_local:e_inner<&str>, }
   |                                                                 +
help: use `=` if you meant to assign
   |
LL |     let outer_local:e_outer<&str, { let inner_local =e_inner<&str, }
   |                                                     ~

error: expected one of `!`, `.`, `::`, `;`, `?`, `else`, `{`, or an operator, found `,`
  --> $DIR/issue-84117.rs:2:65
   |
LL |     let outer_local:e_outer<&str, { let inner_local:e_inner<&str, }
   |                                                                 ^ expected one of 8 possible tokens

error: expected one of `!`, `.`, `::`, `;`, `?`, `else`, `{`, or an operator, found `,`
  --> $DIR/issue-84117.rs:2:33
   |
LL |     let outer_local:e_outer<&str, { let inner_local:e_inner<&str, }
   |                                 ^ expected one of 8 possible tokens

error: aborting due to 6 previous errors