rust/tests/ui/parser/issues/issue-62660.stderr
Nilstrieb 41e8d152dc Show number in error message even for one error
Co-authored-by: Adrian <adrian.iosdev@gmail.com>
2023-11-24 19:15:52 +01:00

14 lines
436 B
Plaintext

error: expected one of `!`, `(`, `+`, `,`, `::`, `<`, or `>`, found `)`
--> $DIR/issue-62660.rs:7:38
|
LL | pub fn foo(_: i32, self: Box<Self) {}
| ^ expected one of 7 possible tokens
|
help: you might have meant to end the type parameters here
|
LL | pub fn foo(_: i32, self: Box<Self>) {}
| +
error: aborting due to 1 previous error