async-rs / async-std

Async version of the Rust standard library

Home Page:https://async.rs

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

DieracDelta opened this issue · comments

If I have a where clause like:

#[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.