Suggest import for E0433 Use of undeclared type or module #48676
Labels
A-diagnostics
Area: Messages for errors, warnings, and lints
A-resolve
Area: Name/path resolution done by `rustc_resolve` specifically
C-enhancement
Category: An issue proposing an enhancement or a PR with one.
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
While E0412 already provides suggested imports, E0433 does not. It seems like a similar problem on the face of it. Can we add suggestions for undeclared type or module?
Particularly this helps IDEs working toward rust-lang/rls#742.
For example no suggestion is currently provided for the following.
The text was updated successfully, but these errors were encountered: