Add cargo fix
support for switching to intra-doc links
#75805
Labels
A-intra-doc-links
Area: Intra-doc links, the ability to link to items in docs by name
A-resolve
Area: Name resolution
A-suggestion-diagnostics
Area: Suggestions generated by the compiler applied by `cargo fix`
C-feature-request
Category: A feature request, i.e: not implemented / a PR.
E-hard
Call for participation: Hard difficulty. Experience needed to fix: A lot.
T-rustdoc
Relevant to the rustdoc team, which will review and decide on the PR/issue.
This will be tricky for several reasons.
Event
andTag
seem like they should work.String
documentation fromDeref
impl #32129). Rustdoc should report all possible items you meant if there's ambiguity (and downgrade the applicability).DefId
->Path
onResolver
, only the reverse. cc @Manishearth, do you have ideas?This can be implemented as an allowed-by-default lint with
Applicability::MachineApplicable
; thencargo fix
will pick it up automatically.The text was updated successfully, but these errors were encountered: