Foo::bar()
invokes do not give suggestions for Foo
when it is not in scope
#52468
Labels
A-diagnostics
Area: Messages for errors, warnings, and lints
A-resolve
Area: Name/path resolution done by `rustc_resolve` specifically
A-suggestion-diagnostics
Area: Suggestions generated by the compiler applied by `cargo fix`
D-papercut
Diagnostics: An error or lint that needs small tweaks.
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
In this example:
there are two uses of
HashMap
. Neither is in scope, but only the type gives me a suggestion for how to import it:This issue has been assigned to @Patryk27 via this comment.
The text was updated successfully, but these errors were encountered: