-
Notifications
You must be signed in to change notification settings - Fork 13k
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
Src Link in Rustdoc fails for assert_eq! #21311
Comments
Not sure this isn't a dup... |
rustdoc has some special logic to redirect through re-exports for items, but similar logic wasn't added for "re-exported" macros after macro reform. |
The source filename for cross crate macros isn't quite right so the normal generated links are invalid. Closes rust-lang#21311
The source filename for cross crate macros isn't quite right so the normal generated links are invalid. Closes rust-lang#21311
The source filename for cross crate macros isn't quite right so the normal generated links are invalid. Closes rust-lang#21311
Just as a note, at time of writing this problem still exists in the beta docs. Might want to cherry pick the change to beta. |
@alexcrichton what do you think, should we backport this? |
I'd be fine doing so, although I thought that the main PR fixing rustdoc made it into a master -> beta merge... Ah well, either way is fine by me! |
Step 1: Visit http://doc.rust-lang.org/std/macro.assert_eq!.html
Step 2: Click Link [src]
Page should link to http://doc.rust-lang.org/src/core/macros.rs.html#80-93, but instead links to http://doc.rust-lang.org/src/std/%3Ccore%20macros%3E.html#1-9
Suggested label A-Docs A-Rustdoc
The text was updated successfully, but these errors were encountered: