dtolnay / dtolnay/syn

Parse async closures trait bound syntax

Open
#1,628 0 comments 1 reaction 0 assignees View on GitHub
syntax
Dominant language
Rust
Stars
3.4k
Forks
374
Avg merge
1d 5h
Merged PRs (30d)
2

Description

The following trait bound syntax is accepted by nightly Rust, although there is not a tracking issue for it.

```rust
#![feature(async_trait_bounds)]

async fn call(f: &impl async Fn() -> T) -> T {
f().await
}
```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.