dtolnay / async-trait

Type erasure for async trait methods
Apache License 2.0
1.81k stars 84 forks source link

Work around unused_parens rustc issue #119

Closed dtolnay closed 4 years ago

dtolnay commented 4 years ago

Closes #118.

Rustc is inserting needless parens into the macro input before calling async_trait, then warning the user that they wrote needless parens. See https://github.com/dtolnay/async-trait/issues/118#issuecomment-673083481.