There's a few spots where semicolons are checked for to do error recovery, and should not be suggested (or checked for other stuff). Fixes #87647
8 lines
250 B
Text
8 lines
250 B
Text
error: expected one of `!`, `+`, `::`, `where`, or `{`, found `>`
|
|
--> $DIR/issue-24780.rs:5:23
|
|
|
|
|
LL | fn foo() -> Vec<usize>> {
|
|
| ^ expected one of `!`, `+`, `::`, `where`, or `{`
|
|
|
|
error: aborting due to previous error
|
|
|