alexcrichton / futures-await

Apache License 2.0
734 stars 55 forks source link

fix build and test issues due to new nightly #98

Closed tjis closed 6 years ago

tjis commented 6 years ago

This pull request contains patches required to make 'cargo test' build and pass again.

As described in pull request #97, parens in attribute macros are no longer included in the token stream. async and async_stream macro code needs to be changed accordingly.

This pull request contains both the commit from pull request #97 (which fixes this for the async macro), as well as a fix for the same issue in the async_stream macro.

Additionally, three files now have the proc_macro_non_items feature enabled as this was required to run the tests.

withoutboats commented 6 years ago

Thanks so much for this!