summaryrefslogtreecommitdiffstats
path: root/tests/ui/async-await/in-trait/bad-signatures.next.stderr
blob: ae590fb057f3b81d93185018d76633d632a385b7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
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