missing trait impl suggestion is not async-aware #108195
Labels
A-diagnostics
Area: Messages for errors, warnings, and lints
A-suggestion-diagnostics
Area: Suggestions generated by the compiler applied by `cargo fix`
C-bug
Category: This is a bug.
D-invalid-suggestion
Diagnostics: A structured suggestion resulting in incorrect code.
F-async_fn_in_trait
Static async fn in traits
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
I tried this code:
When compiled will provide a (tool-only) suggestion that is not valid:
shows the suggestion is:
I would expect the signature to more closely match the original trait:
Note: The console output is:
Meta
rustc --version --verbose
:The text was updated successfully, but these errors were encountered: