diagnostics should prefer naming items through the extern prelude instead of doc-hidden type aliases #127011
Labels
A-diagnostics
Area: Messages for errors, warnings, and lints
D-confusing
Diagnostics: Confusing error or lint that should be reworked.
E-medium
Call for participation: Medium difficulty. Experience needed to fix: Intermediate.
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
diagnostics should avoid referencing
#[doc(hidden)]
items if at all possible. ideally it would suggest addingquote
to the extern prelude if it wasn't there already, but that is tricky whenrustc
doesn't know anything about how dependencies are managed.Other cases
No response
Rust Version
Anything else?
No response
The text was updated successfully, but these errors were encountered: