rust/tests/ui/async-await/async-fn/method-call-pos.stderr

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

15 lines
433 B
Plaintext
Raw Normal View History

2024-01-26 17:00:34 +00:00
error: expected identifier, found keyword `async`
--> $DIR/method-call-pos.rs:4:11
|
LL | <_ as async Fn()>(|| async {});
| ^^^^^ expected identifier, found keyword
error: expected one of `(`, `::`, `<`, or `>`, found `Fn`
--> $DIR/method-call-pos.rs:4:17
|
LL | <_ as async Fn()>(|| async {});
| ^^ expected one of `(`, `::`, `<`, or `>`
error: aborting due to 2 previous errors