Open
Description
I tried this code:
# Hello
Link to [std::process::Command]
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
:
rustdoc 1.49.0-nightly (91a79fb29 2020-10-07)
Metadata
Metadata
Assignees
Labels
Area: Intra-doc links, the ability to link to items in docs by nameArea: Markdown parsing for doc-commentsCategory: A feature request, i.e: not implemented / a PR.Call for participation: Medium difficulty. Experience needed to fix: Intermediate.Relevant to the rustdoc team, which will review and decide on the PR/issue.