You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently in a few places we define traits with async methods.
In the past it was necessary to use the async_trait macro for this, which is not very ergonomic since when a user wants to implement the trait they can't use rust-analyzer autocompletion to "implement missing members" easily. It generates the wrong placeholders.
In Rust 1.76 there is sufficient support for async methods in traits so once we set MSRV to that we should revise the use of async_trait macro.
The text was updated successfully, but these errors were encountered:
Currently in a few places we define traits with async methods.
In the past it was necessary to use the
async_trait
macro for this, which is not very ergonomic since when a user wants to implement the trait they can't use rust-analyzer autocompletion to "implement missing members" easily. It generates the wrong placeholders.In Rust 1.76 there is sufficient support for async methods in traits so once we set MSRV to that we should revise the use of async_trait macro.
The text was updated successfully, but these errors were encountered: