When using the crate name as a path instead of crate:: rustc should probably suggest using crate:: instead #138312
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
Ran into the current ouput above while splitting up the previously only binary module into several modules in my (private) crate salt_update_gitlab_keys and moving code around from src/bin/salt_update_gitlab_keys.rs to src/types.rs
Other cases
Rust Version
Anything else?
No response
The text was updated successfully, but these errors were encountered: