]> git.lizzy.rs Git - rust.git/blob - src/test/ui/parser/issues/issue-62660.stderr
be0b9a524df84bf5dd1adc14e07e2230d0ab7196
[rust.git] / src / test / ui / parser / issues / issue-62660.stderr
1 error: expected one of `!`, `(`, `+`, `,`, `::`, `:`, `<`, `=`, or `>`, found `)`
2   --> $DIR/issue-62660.rs:7:38
3    |
4 LL |     pub fn foo(_: i32, self: Box<Self) {}
5    |                                      ^ expected one of 9 possible tokens
6    |
7 help: you might have meant to end the type parameters here
8    |
9 LL |     pub fn foo(_: i32, self: Box<Self>) {}
10    |                                      +
11
12 error: aborting due to previous error
13