]> git.lizzy.rs Git - rust.git/blob - src/test/ui/parser/issues/issue-84117.stderr
Merge commit '533f0fc81ab9ba097779fcd27c8f9ea12261fef5' into psimd
[rust.git] / src / test / ui / parser / issues / issue-84117.stderr
1 error: expected one of `>`, a const expression, lifetime, or type, found `}`
2   --> $DIR/issue-84117.rs:2:67
3    |
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
8    |                                         while parsing the type for `inner_local`
9
10 error: expected one of `!`, `.`, `::`, `;`, `?`, `else`, `{`, or an operator, found `,`
11   --> $DIR/issue-84117.rs:2:65
12    |
13 LL |     let outer_local:e_outer<&str, { let inner_local:e_inner<&str, }
14    |                                                                 ^ expected one of 8 possible tokens
15
16 error: expected one of `,`, `:`, `=`, or `>`, found `}`
17   --> $DIR/issue-84117.rs:8:1
18    |
19 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`
23 ...
24 LL | }
25    | ^ unexpected token
26
27 error: expected one of `>`, a const expression, lifetime, or type, found `}`
28   --> $DIR/issue-84117.rs:2:67
29    |
30 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
34    |                                         while parsing the type for `inner_local`
35
36 error: expected one of `!`, `.`, `::`, `;`, `?`, `else`, `{`, or an operator, found `,`
37   --> $DIR/issue-84117.rs:2:65
38    |
39 LL |     let outer_local:e_outer<&str, { let inner_local:e_inner<&str, }
40    |                                                                 ^ expected one of 8 possible tokens
41
42 error: expected one of `!`, `.`, `::`, `;`, `?`, `else`, `{`, or an operator, found `,`
43   --> $DIR/issue-84117.rs:2:33
44    |
45 LL |     let outer_local:e_outer<&str, { let inner_local:e_inner<&str, }
46    |                                 ^ expected one of 8 possible tokens
47
48 error: aborting due to 6 previous errors
49