fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #103046 - JanBeh:PR_clarify_cmp_terminology, r=workingjubilee3bcad65fbf6

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