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

Remove unneeded tricky macro doc #37870

Closed
wants to merge 1 commit into from

Conversation

GuillaumeGomez
Copy link
Member

Fixes #37684.

Macros are still linked in the docs so I'm sure why such thing existed in the first place...

r? @eddyb

@eddyb
Copy link
Member

eddyb commented Nov 19, 2016

You sure? This isn't used by libstd docs, but have you checked libcore docs?
If these pose a problem, I'd suggest trying to remove the #[cfg(dox)] (as long as it has no visible effect outside the crate).

@GuillaumeGomez
Copy link
Member Author

It's no longer in libcore docs for sure. I'll just remove the #[cfg(doc)] if you prefer.

@frewsxcv
Copy link
Member

Do these changes result in #36272 becoming an issue again?

@frewsxcv
Copy link
Member

Relevant PR #37325

@eddyb
Copy link
Member

eddyb commented Nov 19, 2016

I don't want to cause #36272 again.

@GuillaumeGomez
Copy link
Member Author

cc @eddyb

bors added a commit that referenced this pull request Nov 30, 2016
rustdoc: link to cross-crate sources directly.

Fixes #37684 by implementing proper support for getting the `Span` of definitions across crates.
In rustdoc this is used to generate direct links to the original source instead of fragile redirects.

This functionality could be expanded further for making error reporting code more uniform and seamless across crates, although at the moment there is no actual source to print, only file/line/column information.

Closes #37870 which is also "fixes" #37684 by throwing away the builtin macro docs from libcore.
After this lands, #37727 could be reverted, although it doesn't matter much either way.
@bors bors closed this in #37954 Nov 30, 2016
@GuillaumeGomez GuillaumeGomez deleted the doc_src branch November 30, 2016 16:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants