Error when implementing async method of another trait from another trait #116984
Labels
F-async_fn_in_trait
Static async fn in traits
fixed-by-next-solver
Fixed by the next-generation trait solver, `-Znext-solver`.
T-types
Relevant to the types team, which will review and decide on the PR/issue.
I tried this code:
I expected to see this happen: the above should be able to compile as the
sync
version of that code can also be compiled (i.e. removing allasync
keywords from the example above)Instead, this happened: it gave the following error below, where the signatures match exactly but compilation still gave an error.
Meta
rustc --version --verbose
:Backtrace
The text was updated successfully, but these errors were encountered: