Skip to content

Rollup of 15 pull requests - #42212

Merged
bors merged 37 commits into
rust-lang:masterfrom
Mark-Simulacrum:rollup
May 25, 2017
Merged

Rollup of 15 pull requests#42212
bors merged 37 commits into
rust-lang:masterfrom
Mark-Simulacrum:rollup

Conversation

Felix Raimundoand others added 30 commits May 14, 2017 14:14
This is useful if parsing from stdin or a String and don't want to try and read in a module from another file. Instead we just leave a stub in the AST.
Not being an enum improves ergonomics, especially since NonEmpty could be Empty. It can still be iterable without an extra "done" bit by making the range have !(start <= end), which is even possible without changing the Step trait.
Implements RFC 1980
Fixesrust-lang#42135
Found while fixing run-pass/range_inclusive test failure.
This was breaking the libstd build for Redox.
These files are licensed under a different license
than the rest of the codebase. This causes potential
issues and inconveniences.
Relicense these files under the standard license.
I hold original copyright on that code.
Fixesrust-lang#36556
Also, add detection to treat such comments as tidy errors.
We also remove the found_lib_feature code because it
was just repeating the found_feature code. Originally it
was intended to allow for gate-test lines for
lib features, but apparently nobody missed it.
This brings verbosity even to invocation of cargo itself
[Doc] Add `'static` and `Send` constraints explanations to `thread::spawn`
Part of rust-lang#29378.
Explains why the constraints on the closure and its return value are `'static` and `Send`.
Allows to tick of `thread::spawn` from the list of things to document in the `thread` module.
r? @steveklabnik
Add an option to the parser to avoid parsing out of line modules
This is useful if parsing from stdin or a String and don't want to try and read in a module from another file. Instead we just leave a stub in the AST.
remove "much" from unicode diagnostic
The English seems slightly awkward to me, and it's unnecessary.
…turon
Make RangeInclusive just a two-field struct
Not being an enum improves ergonomics and consistency, especially since NonEmpty variant wasn't prevented from being empty. It can still be iterable without an extra "done" bit by making the range have !(start <= end), which is even possible without changing the Step trait.
Implements merged rust-lang/rfcs#1980; tracking issue rust-lang#28237.
This is definitely a breaking change to anything consuming `RangeInclusive` directly (not as an Iterator) or constructing it without using the sugar. Is there some change that would make sense before this so compilation failures could be compatibly fixed ahead of time?
r? @aturon (as FCP proposer on the RFC)
Fix building std without backtrace feature, which was broken in ca8b754Fixesrust-lang#42139
Implement requires_synchronized_create() for Redox
This was breaking the libstd build for Redox.
libstd/sync/mpsc: relicense under rust license
These files are licensed under a different license
than the rest of the codebase. This causes potential
issues and inconveniences.
Relicense these files under the standard license.
I hold original copyright on that code.
Fixesrust-lang#36556
…ages, r=Mark-Simulacrum
Change error count messages
See rust-lang#33525 for details. r? @Mark-Simulacrum
Document drop more.
Adds two examples to Drop and describes the recursive drop on types that contain fields.
Remove some needless // gate-test- comments
Also, add detection to treat such comments as tidy errors.
We also remove the found_lib_feature code because it
was just repeating the found_feature code. Originally it
was intended to allow for gate-test lines for
lib features, but apparently nobody missed it.
…=alexcrichton
bootstrap: Make bootstrap verbose if requested
Fixes: rust-lang#42099
…labnik
fix broken link to nomicon in Unsize docs
Add a missing link that is currently broken in the docs (see the last sentence of https://doc.rust-lang.org/std/marker/trait.Unsize.html)
…isdreavus
Add missing urls for OsStr docs
r? @rust-lang/docs
…rk-Simulacrum
Hack around abysmally slow llvm clones
r? @Mark-Simulacrum
(don't r+ yet, let's see what travis says)
@rust-highfive

Copy link
Copy Markdown
Contributor

r? @BurntSushi

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

@Mark-Simulacrum

Copy link
Copy Markdown
MemberAuthor

@bors r+ p=10

@bors

bors commented May 25, 2017

Copy link
Copy Markdown
Collaborator

📌 Commit d429b49 has been approved by Mark-Simulacrum

@Mark-Simulacrum

Copy link
Copy Markdown
MemberAuthor

Or, I guess, to make it land...

@bors p=101

@bors

bors commented May 25, 2017

Copy link
Copy Markdown
Collaborator

⌛ Testing commit d429b49 with merge cf747fc...

bors added a commit that referenced this pull request May 25, 2017
@bors

bors commented May 25, 2017

Copy link
Copy Markdown
Collaborator

☀️ Test successful - status-appveyor, status-travis
Approved by: Mark-Simulacrum
Pushing cf747fc to master...

@bors
bors merged commit d429b49 into rust-lang:masterMay 25, 2017
@CentrilCentril added the rollup A PR which is a rollup label Oct 2, 2019
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.

17 participants

@Mark-Simulacrum@rust-highfive@bors@BurntSushi@Centril@euclio@scottmcm@ids1024@dvyukov@Havvy@est31@devurandom@citizen428@SamWhited@GuillaumeGomez@alexcrichton@aidanhs