summaryrefslogtreecommitdiffstats
path: root/tests/ui/parser/issues/issue-62660.stderr
blob: 14c0bdcb111b8a53768ffb334b1ae90da65c48aa (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
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 previous error