-
Notifications
You must be signed in to change notification settings - Fork 12.9k
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
Rollup of 11 pull requests #32743
Merged
Merged
Rollup of 11 pull requests #32743
Conversation
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
Instead of hardcoding knowledge about the strip-private pass into the rendering process we represent (some) stripped items as `ItemEnum::StrippedItem`. Rustdoc will, for example, generate redirect pages for public items contained in private modules which have been re-exported to somewhere externally reachable - this will now not only work for the `strip-private` pass, but for other passes as well, such as the `strip-hidden` pass.
Like the comment on `Context` explains, `Context` is supposed to be lightweight, so we're putting everything that's immutable after creation of the Context behind an `Arc<SharedContext>`.
These are all super small functions
Check last statement in a block, not the first
Fix issue: Global paths in `use` directives can begin with `super` or `self` rust-lang#32225 This PR fixes rust-lang#32225 by warning on `use ::super::...` and `use ::self::...` on `resolve`. Current changes is the most minimal and ad-hoc.
Plumb obligations through librustc/infer Like rust-lang#32542, but more like rust-lang#31867. TODO before merge: make an issue for the propagation of obligations through... uh, everywhere... then replace the `#????`s with the actual issue number. cc @jroesch r? @nikomatsakis
…richton adds dragonflybsd to snapshots.txt @alexcrichton please upload the following snapshots when landing this patch: https://github.com/dhuseby/rust-manual-snapshots/raw/master/rust-stage0-2016-02-17-4d3eebf-dragonfly-x86_64-765bb5820ad406e966ec0ac51c8070b656459b02.tar.bz2 https://github.com/dhuseby/rust-manual-snapshots/raw/master/rust-stage0-2016-02-17-4d3eebf-freebsd-x86_64-395adf223f3f25514c9dffecb524f493c42a0e5d.tar.bz2
rustdoc: make rustdoc less pass-aware Instead of hardcoding knowledge about the strip-private pass into the rendering process we represent (some) stripped items as `ItemEnum::StrippedItem`. Rustdoc will, for example, generate redirect pages for public items contained in private modules which have been re-exported to somewhere externally reachable - this will now not only work for the `strip-private` pass, but for other passes as well, such as the `strip-hidden` pass. r? @alexcrichton
…d3eebf, r=alexcrichton adding freebsd i686 snapshot 4d3eebf @alexcrichton will you please upload the following file when landing this patch: https://github.com/dhuseby/rust-manual-snapshots/raw/master/rust-stage0-2016-02-17-4d3eebf-freebsd-i386-4e2af0b34eb335e173aebff543be693724a956c2.tar.bz2
Inline Duration constructors and accessors These are all super small functions r? @alexcrichton
… r=nagisa Fix "consider removing this semicolon" help Check last statement in a block, not the first. Example of current weirdness: http://is.gd/w80J9h The help was only rarely emitted, and if so, often incorrectly (see above playpen). It was basically only useful with single-statement functions.
…r-fn-ty, r=nagisa Autoderef when suggesting to call `(self.field)` Fixes rust-lang#32128
JSON errors: give better spans for SpanEnd errors
rustdoc: factor out function for getting inner html of highlighted source
r? @Aatch (rust_highfive has picked a reviewer for you, use r? to override) |
@bors r+ p=10 |
📌 Commit e8ab71f has been approved by |
⌛ Testing commit e8ab71f with merge 40d95ce... |
@bors: retry force clean |
⌛ Testing commit e8ab71f with merge 57e5d43... |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
use
directives can begin withsuper
orself
#32225 #32403, Plumb obligations through librustc/infer #32596, adds dragonflybsd to snapshots.txt #32675, rustdoc: make rustdoc less pass-aware #32678, adding freebsd i686 snapshot 4d3eebf #32685, Prefix jemalloc on DragonFly to prevent segfaults. #32686, Inline Duration constructors and accessors #32692, Fix "consider removing this semicolon" help #32710, Autoderef when suggesting to call(self.field)
#32712, JSON errors: give better spans for SpanEnd errors #32714, rustdoc: factor out function for getting inner html of highlighted source #32715