Add Cargo.toml
context to exported-private-dependencies
lints
#13096
Labels
A-diagnostics
Area: Error and warning messages generated by Cargo itself.
C-feature-request
Category: proposal for a feature. Before PR, ping rust-lang/cargo if this is not `Feature accepted`
Command-publish
S-accepted
Status: Issue or feature is accepted, and has a team member available to help mentor or review
Problem
Right now the lint just says
rustc has no knowledge of
Cargo.toml
to provide additional contextProposed Solution
Build on #13095 and #12235 to inject a note in the lint to highlight the dependency in
Cargo.toml
, saying the dependency is privateNotes
No response
The text was updated successfully, but these errors were encountered: