rust/src/test/ui/parser/issues/issue-84117.stderr

50 lines
2.4 KiB
Plaintext
Raw Normal View History

2021-04-12 14:06:11 -05:00
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
| | |
| | help: use `=` if you meant to assign
| while parsing the type for `inner_local`
2021-08-01 19:55:48 -05:00
error: expected one of `!`, `.`, `::`, `;`, `?`, `else`, `{`, or an operator, found `,`
2021-04-12 14:06:11 -05:00
--> $DIR/issue-84117.rs:2:65
|
LL | let outer_local:e_outer<&str, { let inner_local:e_inner<&str, }
2021-08-01 19:55:48 -05:00
| ^ expected one of 8 possible tokens
2021-04-12 14:06:11 -05:00
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, }
| ------------ help: use `=` if you meant to assign - expected one of `,`, `:`, `=`, or `>`
| |
| while parsing the type for `outer_local`
...
LL | }
| ^ unexpected token
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
| | |
| | help: use `=` if you meant to assign
| while parsing the type for `inner_local`
2021-08-01 19:55:48 -05:00
error: expected one of `!`, `.`, `::`, `;`, `?`, `else`, `{`, or an operator, found `,`
2021-04-12 14:06:11 -05:00
--> $DIR/issue-84117.rs:2:65
|
LL | let outer_local:e_outer<&str, { let inner_local:e_inner<&str, }
2021-08-01 19:55:48 -05:00
| ^ expected one of 8 possible tokens
2021-04-12 14:06:11 -05:00
2021-08-01 19:55:48 -05:00
error: expected one of `!`, `.`, `::`, `;`, `?`, `else`, `{`, or an operator, found `,`
2021-04-12 14:06:11 -05:00
--> $DIR/issue-84117.rs:2:33
|
LL | let outer_local:e_outer<&str, { let inner_local:e_inner<&str, }
2021-08-01 19:55:48 -05:00
| ^ expected one of 8 possible tokens
2021-04-12 14:06:11 -05:00
error: aborting due to 6 previous errors