* Recover empty `fn` bodies when encountering `}` * Recover trailing `>` in return types * Recover from non-type in array type `[<BAD TOKEN>; LEN]`
8 lines
201 B
Text
8 lines
201 B
Text
error: unmatched angle bracket
|
|
--> $DIR/issue-24780.rs:5:23
|
|
|
|
|
LL | fn foo() -> Vec<usize>> {
|
|
| ^^ help: remove extra angle bracket
|
|
|
|
error: aborting due to previous error
|
|
|