Confusing error message on error [E0599] #66289
Labels
A-diagnostics
Area: Messages for errors, warnings, and lints
A-suggestion-diagnostics
Area: Suggestions generated by the compiler applied by `cargo fix`
C-enhancement
Category: An issue proposing an enhancement or a PR with one.
D-confusing
Diagnostics: Confusing error or lint that should be reworked.
D-invalid-suggestion
Diagnostics: A structured suggestion resulting in incorrect code.
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
Hi!
I was doing some work with
async_std
when I got a confusing error message. With this minimal code:I got this error:
If I follow the suggestion, import
futures_core
and so on, I get the following error message:Which seems to be redundant. So, this seems not to be the issue I'm facing. What is really happening here?
The text was updated successfully, but these errors were encountered: