Rustdoc: Trait implementations for Debug, Copy, Clone etc. link to nightly/core, even on stable #41000
Labels
C-bug
Category: This is a bug.
T-dev-tools
Relevant to the dev-tools subteam, which will review and decide on the PR/issue.
T-rustdoc
Relevant to the rustdoc team, which will review and decide on the PR/issue.
When generating documentation for a type that implements Debug, Copy, Clone etc., the links regarding those traits in the Trait Implementations section link to, e.g., https://doc.rust-lang.org/nightly/core/fmt/trait.Debug.html.
I expected them to link to https://doc.rust-lang.org/std/fmt/trait.Debug.html etc.
To reproduce:
rustdoc test.rs
, where test.rs contains the followingMeta
rustdoc --version --verbose
:rustdoc 1.16.0 (30cf806 2017-03-10)
binary: rustdoc
commit-hash: 30cf806
commit-date: 2017-03-10
host: x86_64-pc-windows-gnu
release: 1.16.0
LLVM version: 3.9
The text was updated successfully, but these errors were encountered: