Skip to content

Rollup of 10 pull requests - #33742

Merged
bors merged 22 commits into
rust-lang:masterfrom
Manishearth:rollup
May 19, 2016
Merged

Rollup of 10 pull requests#33742
bors merged 22 commits into
rust-lang:masterfrom
Manishearth:rollup

Conversation

vvandersand others added 22 commits May 12, 2016 18:56
When using closures that take references with explicit lifetimes sometimes
it's required to use where F: for<..> ... syntax to express the right
lifetimes. This adds a quick note to the docs so other users can discover
it as well.
Brings in a fix where `-lutil` is no longer passed for musl targets, lifting the
need for a musl toolchain to be installed again.
Closesrust-lang#33608
When displaying the function parameters for a lifetime elision error message,
this changes it to first filter out the parameters that don't have elided
lifetimes.
Fixesrust-lang#30255.
Add error explanation for E0502
I am questioning the order of presentation on the suggested code fixes, but I'm not sure what would be best. Thoughts?
r? @GuillaumeGomez
Add a note about Higher-Ranked Trait Bounds in docs on Closures.
I hit a snag with lifetimes a few days ago and it wasn't until @birkenfeld pointed out Higher-Ranked Trait Bounds that I was able to solve the issue involving lifetimes on closure traits. This adds a small section in the book so that other users can find it.
r? @steveklabnik
Add regression tests for error message when using enum variant as a type
I'm guessing these were actually fixed with PR rust-lang#27085.
Closesrust-lang#21225Closesrust-lang#19197
std: Update libc submodule
Brings in a fix where `-lutil` is no longer passed for musl targets, lifting the
need for a musl toolchain to be installed again.
Closesrust-lang#33608
…laumeGomez
rustdoc: Make the #[stable(since)] version attribute clearer with a tooltip
Rustdoc's new 'since' version placement only shows the version number in which the item was marked stable. This gains space but might make the meaning of this version string less clear in the docs, so I tried to bring some explicitness in a tooltip.
Only print parameters with elided lifetimes in elision error messages.
When displaying the function parameters for a lifetime elision error message,
this changes it to first filter out the parameters that don't have elided
lifetimes.
Fixesrust-lang#30255.
…g, r=nrc
Fix bug in macro expression spans
Fix a bug in macro expression spans.
r? @nrc
…abnik
Clarified that `let(mut x, y) =` only makes x mutable, not y
Closesrust-lang#33716
…hts, r=Manishearth
Rust syntax coloring for some ignore, should-panic and no-run snippets.
In the book, some code blocks were missing the `rust` specifier which is needed for them to highlight correctly.
…ostics, r=nikomatsakis
Fix macro expansion backtrace diagnostics
Fixesrust-lang#33704.
r? @nikomatsakis
@rust-highfive

Copy link
Copy Markdown
Contributor

r? @Manishearth

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

@Manishearth

Copy link
Copy Markdown
MemberAuthor

@bors r+ p=10

@bors

bors commented May 19, 2016

Copy link
Copy Markdown
Collaborator

📌 Commit acd2c11 has been approved by Manishearth

@bors

bors commented May 19, 2016

Copy link
Copy Markdown
Collaborator

⌛ Testing commit acd2c11 with merge 764ef92...

bors added a commit that referenced this pull request May 19, 2016
Rollup of 10 pull requests
- Successful merges: #33353, #33611, #33696, #33698, #33705, #33708, #33712, #33720, #33721, #33730
- Failed merges:
@bors
bors merged commit acd2c11 into rust-lang:masterMay 19, 2016
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

rollupA PR which is a rollup

Projects

None yet

Development

Successfully merging this pull request may close these issues.

10 participants

@Manishearth@rust-highfive@bors@Centril@vvanders@alexcrichton@jseyfried@mark-summerfield@royalstream@lqd