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
157 B
Rust
Raw Permalink Normal View History

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