dtolnay / async-trait

Type erasure for async trait methods
Apache License 2.0
1.84k stars 85 forks source link

Suppress used_underscore_binding on wrapper function #130

Closed dtolnay closed 4 years ago

dtolnay commented 4 years ago

The wrapper future-returning function we generate simply forwards all arguments to the async inner function, so we expect it always uses all arguments, including ones that are named with an underscore.

Fixes #129.