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

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

8 lines
156 B
Rust
Raw Normal View History

2024-01-26 17:00:34 +00:00
// edition:2018
fn main() {
<_ as async Fn()>(|| async {});
//~^ ERROR expected identifier, found keyword `async`
//~| ERROR expected one of
}