]> git.lizzy.rs Git - rust.git/commit
Use the extern item-path for documentation links
authormitaa <mitaa.ceb@gmail.com>
Thu, 3 Dec 2015 22:11:19 +0000 (23:11 +0100)
committermitaa <mitaa.ceb@gmail.com>
Thu, 3 Dec 2015 22:11:19 +0000 (23:11 +0100)
commitaf1ad419e154b5306c7d89b21218fe35607e9f3a
tree024dba65141e4fcbdc67b31733f14006d770cb63
parent14f504c5b7324c77e78feffe5def4282d0f10573
Use the extern item-path for documentation links

The local item-path includes the local crates path to the extern crate
declaration which breaks cross-crate rustdoc links if the extern crate
is not linked into the crate root or renamed via `extern foo as bar`.
src/librustc/middle/cstore.rs
src/librustc_metadata/csearch.rs
src/librustdoc/clean/inline.rs
src/test/auxiliary/issue-30109-1.rs [new file with mode: 0644]
src/test/rustdoc/issue-30109.rs [new file with mode: 0644]