Intra-doc links do not work in markdown files #77974
Labels
A-intra-doc-links
Area: Intra-doc links, the ability to link to items in docs by name
A-markdown-parsing
Area: Markdown parsing for doc-comments
C-feature-request
Category: A feature request, i.e: not implemented / a PR.
E-medium
Call for participation: Medium difficulty. Experience needed to fix: Intermediate.
T-rustdoc
Relevant to the rustdoc team, which will review and decide on the PR/issue.
I tried this code:
I expected to see this happen: Rustdoc generates a link to https://doc.rust-lang.org/std/process/struct.Command.html
Instead, this happened: Rustdoc writes the literal text
[std::process::Command]
This might be a little tricky because there is no scope to resolve in. I think ideally this would have the same scope as an empty crate with only the
std
injects (extern crate std; use std::prelude::v1::*;
).Noticed this in #77971.
Meta
rustdoc --version
:The text was updated successfully, but these errors were encountered: