Skip to content

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

New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Open
DieracDelta opened this issue Dec 14, 2022 · 0 comments
Open

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

DieracDelta opened this issue Dec 14, 2022 · 0 comments

Comments

@DieracDelta
Copy link

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.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant