unresolved import consider importing this struct through its public re-export instead (not a public re-export) #138626
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.
Code
Current output
Desired output
Rationale and extra context
I found the statement that it "is a public re-export" misleading, since it is not the same type. Since the original type isn't found, the error diagnostics shouldn't assume a type on a completely different path with the same name is the one trying to be used.
Other cases
Rust Version
Anything else?
No response
The text was updated successfully, but these errors were encountered: