fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #103046 - JanBeh:PR_clarify_cmp_terminology, r=workingjubilee3bcad65fbf6

master
434 B13 linesraw
1error: expected one of `!`, `(`, `+`, `,`, `::`, `<`, or `>`, found `)`
2  --> $DIR/issue-62660.rs:7:38
3   |
4LL |     pub fn foo(_: i32, self: Box<Self) {}
5   |                                      ^ expected one of 7 possible tokens
6   |
7help: you might have meant to end the type parameters here
8   |
9LL |     pub fn foo(_: i32, self: Box<Self>) {}
10   |                                      +
11
12error: aborting due to previous error
13