Enhance E0463 "can't find crate" error message by hints indicating the starting point of a path to a solution. #89733
Labels
A-diagnostics
Area: Messages for errors, warnings, and lints
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
Given the following code: Playground Link
The current output is (for stable and nightly):
Ideally the output should look like:
Maybe it would be nice to get something like a small checklist on how to address this issue? I filled the proposed output above with things that came to my mind (and by copying from
rustc --explain E0463
) while writing the issue.The text was updated successfully, but these errors were encountered: