Duplicate resolution error messages when using both extern crate and use #91471
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.
Due to recently merged PR #91045 duplicate error message can occur if a crate introduced via
extern crate
is not resolved successfully and subsequently symbol paths are derived viause
from this missing crate.Given the following code:
The current output is:
Ideally, a missing name should be issued for the missing crate and then silenced for names whose path is rooted in that crate:
@rustbot claim
The text was updated successfully, but these errors were encountered: