-
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
rustdoc: collect trait impls as an early pass #53162
Merged
bors
merged 20 commits into
rust-lang:master
from
QuietMisdreavus:crouching-impl-hidden-trait
Sep 20, 2018
Merged
Changes from all commits
Commits
Show all changes
20 commits
Select commit
Hold shift + click to select a range
02bea3c
rustdoc: collect trait impls as an early pass
QuietMisdreavus 5e0f9be
print local inlined consts via the HIR map
QuietMisdreavus 457efc1
ignore rustdoc/doc-proc-macro on stage1
QuietMisdreavus 6aa7493
only move access_levels/external_traits after early passes
QuietMisdreavus 804a1a6
don't record an external trait if it's not external
QuietMisdreavus 50fa16f
undo some tweaks to build_impl
QuietMisdreavus a893117
add a bunch of debug prints
QuietMisdreavus bfd2b34
handle local names when registering FQNs
QuietMisdreavus 978c13a
pull local types from the HIR instead of tcx
QuietMisdreavus fe26efe
collect impl items from the HIR if available
QuietMisdreavus de6a897
pull impl generics from HIR if available
QuietMisdreavus a45d387
swap external_traits into the crate before running strip_hidden
QuietMisdreavus e79780f
don't check visibility when inlining local impls
QuietMisdreavus 7e70fee
add more tests for traits-in-non-module-scope
QuietMisdreavus e854d39
don't index trait impls if the trait isn't also documented
QuietMisdreavus 87760e5
collect auto-/blanket-impls during collect-trait-impls
QuietMisdreavus c754e82
refactor: move `access_levels` into RenderInfo
QuietMisdreavus 354507e
shuffle ownership of `external_traits`
QuietMisdreavus 755c02d
filter collected trait impls against items in the crate
QuietMisdreavus 1106577
fix intra-links for trait impls
QuietMisdreavus File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Super weird indent, didn't understand at first what I was reading haha.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is there a good way to do something like this, though? The first item of the tuple is too long to just fit on one line.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No, it's fine as is. Just wanted to comment on it though.