fork/rust

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

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

master
586 B17 linesraw
1error: expected identifier, found keyword `self`
2  --> $DIR/bad-signatures.rs:6:23
3   |
4LL |     async fn bar(&abc self);
5   |                       ^^^^ expected identifier, found keyword
6
7error: expected one of `:`, `@`, or `|`, found keyword `self`
8  --> $DIR/bad-signatures.rs:6:23
9   |
10LL |     async fn bar(&abc self);
11   |                  -----^^^^
12   |                  |    |
13   |                  |    expected one of `:`, `@`, or `|`
14   |                  help: declare the type after the parameter binding: `<identifier>: <type>`
15
16error: aborting due to 2 previous errors
17