async-rs / async-rs/async-std

#[async_std::test] macro expansion nukes where clause

Open
#1,047 0 comments 2 reactions 0 assignees View on GitHub
Dominant language
Rust
Stars
4.1k
Forks
339
PR merge metrics
No merged PRs in 30d

Description

If I have a where clause like:

```rust
#[async_std::test]
pub fn run_test() where MyType: MyTrait
{
...
}
```
The macro expansion of this test eats the where clause. This seems like a bug.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.