]> git.lizzy.rs Git - rust.git/commit - src/tools/miri
Auto merge of #86662 - mockersf:fix-86620-link-unknown-location, r=jyn514
authorbors <bors@rust-lang.org>
Fri, 16 Jul 2021 06:44:10 +0000 (06:44 +0000)
committerbors <bors@rust-lang.org>
Fri, 16 Jul 2021 06:44:10 +0000 (06:44 +0000)
commita6470c7fa8a511cfbcf9e9d3e1ab6779ac661edb
tree0e336fb7e40ac0eb14ff61b2962b559408d4b4c4
parent057050a95bdfc5849a893208c53c7b2a081c6808
parent450c28a45e387fb54bbc84cf88c3556f93bcf1b8
Auto merge of #86662 - mockersf:fix-86620-link-unknown-location, r=jyn514

fix dead link for method in trait of blanket impl from third party crate

fix #86620

* changes `href` method to raise the actual error it had instead of an `Option`
* set the href link correctly in case of an error

I did not manage to make a small reproducer, I think it happens in a situation where
* crate A expose a trait with a blanket impl
* crate B use the trait from crate A
* crate C use types from crate B
* building docs for crate C without dependencies

r? `@jyn514`
src/librustdoc/html/render/mod.rs