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

Rollup of 11 pull requests #32743

Merged
merged 28 commits into from
Apr 5, 2016
Merged

Rollup of 11 pull requests #32743

merged 28 commits into from
Apr 5, 2016

Conversation

soltanmm-google and others added 28 commits March 29, 2016 20:06
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
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
… r=alexcrichton

Prefix jemalloc on DragonFly to prevent segfaults.

Similar to commits ed01545 (iOS)
and e3b414d (Android)
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
@rust-highfive
Copy link
Collaborator

r? @Aatch

(rust_highfive has picked a reviewer for you, use r? to override)

@Manishearth
Copy link
Member Author

@bors r+ p=10

@bors
Copy link
Contributor

bors commented Apr 5, 2016

📌 Commit e8ab71f has been approved by Manishearth

@bors
Copy link
Contributor

bors commented Apr 5, 2016

⌛ Testing commit e8ab71f with merge 40d95ce...

@alexcrichton
Copy link
Member

@bors: retry force clean

@bors
Copy link
Contributor

bors commented Apr 5, 2016

⌛ Testing commit e8ab71f with merge 57e5d43...

bors added a commit that referenced this pull request Apr 5, 2016
Rollup of 11 pull requests

- Successful merges: #32403, #32596, #32675, #32678, #32685, #32686, #32692, #32710, #32712, #32714, #32715
- Failed merges: #32488
@bors bors merged commit e8ab71f into rust-lang:master Apr 5, 2016
@Centril Centril added the rollup A PR which is a rollup label Oct 2, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
rollup A PR which is a rollup
Projects
None yet
Development

Successfully merging this pull request may close these issues.