-
Notifications
You must be signed in to change notification settings - Fork 13.1k
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
1946-intra-rustdoc-links issue #64193
Comments
Transferred to rust-lang/rust since this is a rustdoc issue. |
Link to the tracking issue of intra doc link: #43466 |
Possible duplicate of #73699 (I know this issue came first but the other has a MCVE). |
Closing as duplicate of #73699: |
This isn't related to #73699/#74481, it's just normal cross-crate inlining intradoc issues. On |
Testing with actual latest nightly works 🎉 so this will be fixed for the next version published. |
Problem
Links created according to 1946-intra-rustdoc-links either don't work as expected or work with
warning: `[...]` cannot be resolved, ignoring it...
.Steps
try_next
link.It won't work correctly, but if we
git clone https://github.com/rust-lang-nursery/futures-rs
cd futures-rs
from
[`try_next`](Receiver::try_next)
to
[`try_next`](mpsc::Receiver::try_next())
or to
[`try_next`](futures_channel::mpsc::Receiver::try_next())
cargo +nightly doc
we will get
warning: `[mpsc::Receiver::try_next]` cannot be resolved, ignoring it...
or
warning: `[futures_channel::mpsc::Receiver::try_next]` cannot be resolved, ignoring it...
respectively.
Meanwhile link will magically work.
Possible Solution(s)
It would be nice to remove incorrect warnings and make doc example work [or at least add warning for that case]. Thanks.
Notes
Output of
cargo version
:cargo 1.39.0-nightly (22f7dd049 2019-08-27)
The text was updated successfully, but these errors were encountered: