18 lines
586 B
Plaintext
18 lines
586 B
Plaintext
error: expected identifier, found keyword `self`
|
|
--> $DIR/bad-signatures.rs:8:23
|
|
|
|
|
LL | async fn bar(&abc self);
|
|
| ^^^^ expected identifier, found keyword
|
|
|
|
error: expected one of `:`, `@`, or `|`, found keyword `self`
|
|
--> $DIR/bad-signatures.rs:8:23
|
|
|
|
|
LL | async fn bar(&abc self);
|
|
| -----^^^^
|
|
| | |
|
|
| | expected one of `:`, `@`, or `|`
|
|
| help: declare the type after the parameter binding: `<identifier>: <type>`
|
|
|
|
error: aborting due to 2 previous errors
|
|
|