Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rustdoc: re-exported ffi function metadata is not preserved. #16289

Closed
angdev opened this issue Aug 6, 2014 · 3 comments
Closed

Rustdoc: re-exported ffi function metadata is not preserved. #16289

angdev opened this issue Aug 6, 2014 · 3 comments
Labels
T-rustdoc Relevant to the rustdoc team, which will review and decide on the PR/issue.

Comments

@angdev
Copy link
Contributor

angdev commented Aug 6, 2014

std::mem::transmute is re-exported function of core::intrinsics::transmute.
Hyperlink of core::intrinsics::transmute is ~/ffi.transmute.html, not ~/fn.transmute.html, but source link of http://doc.rust-lang.org/std/mem/fn.transmute.html is http://doc.rust-lang.org/core/intrinsics/fn.transmute.html instead of http://doc.rust-lang.org/core/intrinsics/ffi.transmute.html

@UberLambda
Copy link

Having this code:

extern crate mycrate;
pub use alias = mycrate;

Rustdoc is unable to generate proper documentation for alias.
The [src] link on the alias page (doc_root/alias/index.html) is broken; it points to doc_root//alias/index.html, a malformed url, and doc_root/alias/ doesn't exist on my filesystem.

@steveklabnik
Copy link
Member

Triage: link is still pointing to the same place.

@alexcrichton
Copy link
Member

Fixed in #20081

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
T-rustdoc Relevant to the rustdoc team, which will review and decide on the PR/issue.
Projects
None yet
Development

No branches or pull requests

4 participants