Better diagnostic for missing components #87871
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.
When using the
rustc_private
feature without the components being installed and you use a compiler crate, you'll get an error like this:which is not helpful.
Given the following code:
The current output is:
Ideally the output should look like:
(the last line was added, specifying what could be done to fix the issue)
cc @GuillaumeGomez
The text was updated successfully, but these errors were encountered: