-
Notifications
You must be signed in to change notification settings - Fork 12.7k
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
rustdoc: collect trait impls as an early pass #53162
bors
merged 20 commits into
rust-lang:master
from
QuietMisdreavus:crouching-impl-hidden-trait
Sep 20, 2018
Commits on Sep 20, 2018
-
Configuration menu - View commit details
-
Copy full SHA for 02bea3c - Browse repository at this point
Copy the full SHA 02bea3cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 5e0f9be - Browse repository at this point
Copy the full SHA 5e0f9beView commit details -
Configuration menu - View commit details
-
Copy full SHA for 457efc1 - Browse repository at this point
Copy the full SHA 457efc1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6aa7493 - Browse repository at this point
Copy the full SHA 6aa7493View commit details -
Configuration menu - View commit details
-
Copy full SHA for 804a1a6 - Browse repository at this point
Copy the full SHA 804a1a6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 50fa16f - Browse repository at this point
Copy the full SHA 50fa16fView commit details -
Configuration menu - View commit details
-
Copy full SHA for a893117 - Browse repository at this point
Copy the full SHA a893117View commit details -
Configuration menu - View commit details
-
Copy full SHA for bfd2b34 - Browse repository at this point
Copy the full SHA bfd2b34View commit details -
Configuration menu - View commit details
-
Copy full SHA for 978c13a - Browse repository at this point
Copy the full SHA 978c13aView commit details -
Configuration menu - View commit details
-
Copy full SHA for fe26efe - Browse repository at this point
Copy the full SHA fe26efeView commit details -
Configuration menu - View commit details
-
Copy full SHA for de6a897 - Browse repository at this point
Copy the full SHA de6a897View commit details -
Configuration menu - View commit details
-
Copy full SHA for a45d387 - Browse repository at this point
Copy the full SHA a45d387View commit details -
don't check visibility when inlining local impls
those get handled properly in strip-hidden anyway
Configuration menu - View commit details
-
Copy full SHA for e79780f - Browse repository at this point
Copy the full SHA e79780fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 7e70fee - Browse repository at this point
Copy the full SHA 7e70feeView commit details -
Configuration menu - View commit details
-
Copy full SHA for e854d39 - Browse repository at this point
Copy the full SHA e854d39View commit details -
Configuration menu - View commit details
-
Copy full SHA for 87760e5 - Browse repository at this point
Copy the full SHA 87760e5View commit details -
Configuration menu - View commit details
-
Copy full SHA for c754e82 - Browse repository at this point
Copy the full SHA c754e82View commit details -
shuffle ownership of
external_traits
constraints: - clean/inline.rs needs this map to fill in traits when inlining - fold.rs needs this map to allow passes to fold trait items - html/render.rs needs this map to seed the Cache.traits map of all known traits The first two are the real problem, since `DocFolder` only operates on `clean::Crate` but `clean/inline.rs` only sees the `DocContext`. The introduction of early passes means that these two now exist at the same time, so they need to share ownership of the map. Even better, the use of `Crate` in a rustc thread pool means that it needs to be Sync, so it can't use `Lrc<Lock>` to manually activate thread-safety. `parking_lot` is reused from elsewhere in the tree to allow use of its `ReentrantMutex`, as the relevant parts of rustdoc are still single-threaded and this allows for easier use in that context.
Configuration menu - View commit details
-
Copy full SHA for 354507e - Browse repository at this point
Copy the full SHA 354507eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 755c02d - Browse repository at this point
Copy the full SHA 755c02dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 1106577 - Browse repository at this point
Copy the full SHA 1106577View commit details
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.