Help message when importing item from wrong module is wrong #105566
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:
The help message is wrong for two reasons:
serde
) is repeated in the path, so the suggested code would importserde::serde::de::IgnoredAny
instead ofserde::de::IgnoredAny
.Ideally the output should look like:
Note that the help message was only added recently, so this bug exists only on beta and nightly at the moment.
The text was updated successfully, but these errors were encountered: