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 8 pull requests #33494

Merged
merged 15 commits into from
May 8, 2016
Merged

Rollup of 8 pull requests #33494

merged 15 commits into from
May 8, 2016

Conversation

nikomatsakis and others added 8 commits May 3, 2016 06:15
to get more reproducible output.

Fixes: rust-lang#32555
It's pretty confusing and this error triggers in resolve only when "shadowing" a
const, so let's make that clearer.
Adds documentation to Clone, specifying that Copy types should have a trivial Clone impl.

Fixes rust-lang#33416.
If the `-f` option isn't given, GNU tar will use environment variable
`TAPE` first, and next use the compiled-in default, which isn't
necessary `stdout` (it is the tape device `/dev/rst0` under OpenBSD for
example).
@rust-highfive
Copy link
Collaborator

r? @jroesch

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

@Manishearth
Copy link
Member Author

@bors r+ p=20

@bors
Copy link
Contributor

bors commented May 8, 2016

📌 Commit cd9efdf has been approved by Manishearth

@bors
Copy link
Contributor

bors commented May 8, 2016

⌛ Testing commit cd9efdf with merge db94e38...

bors added a commit that referenced this pull request May 8, 2016
Rollup of 8 pull requests

- Successful merges: #33369, #33373, #33404, #33406, #33420, #33424, #33426, #33473
- Failed merges:
@bors
Copy link
Contributor

bors commented May 8, 2016

💔 Test failed - auto-linux-64-opt-rustbuild

@Manishearth
Copy link
Member Author

@bors r+

@bors
Copy link
Contributor

bors commented May 8, 2016

📌 Commit 336ea2c has been approved by Manishearth

@bors
Copy link
Contributor

bors commented May 8, 2016

🔒 Merge conflict

…=jntrnr

degrade gracefully with empty spans

In rust-lang#32756, we solved the final test failure, but digging more into it the handling of that scenario could be better. The error was caused by an empty span supplied by the parser representing EOF. This patch checks that we cope more gracefully with such spans:

r? @jonathandturner
rustdoc: use btree map for where clauses

to get more reproducible output.

Fixes: rust-lang#32555

I've looked at the other uses of HashMap in rustdoc, and they seem ok to (i.e. they use `iter()` and related only for constructing a new map, or when the output goes into independent files).

Not sure what the cause of rust-lang#24473 is, it shouldn't be where clauses, but maybe it was also fixed inbetween since May 2015.
… r=GuillaumeGomez

Improve diagnostics for constants being used in irrefutable patterns

It's pretty confusing and this error triggers in resolve only when "shadowing" a const, so let's make that clearer.

r? @steveklabnik
implement RFC 1521

Adds documentation to Clone, specifying that Copy types should have a trivial Clone impl.

Fixes rust-lang#33416.

I tried to use "should" and "must" as defined [here](https://tools.ietf.org/html/rfc2119).

cc @ubsan
make dist: specify the archive file as stdout

If the `-f` option isn't given, GNU tar will use environment variable
`TAPE` first, and next use the compiled-in default, which isn't
necessary `stdout` (it is the tape device `/dev/rst0` under OpenBSD for
example).
@Manishearth
Copy link
Member Author

@bors r+ force

@bors
Copy link
Contributor

bors commented May 8, 2016

📌 Commit cc98f4c has been approved by Manishearth

@bors
Copy link
Contributor

bors commented May 8, 2016

⌛ Testing commit cc98f4c with merge cae42a4...

bors added a commit that referenced this pull request May 8, 2016
Rollup of 8 pull requests

- Successful merges: #33369, #33373, #33404, #33406, #33420, #33424, #33426, #33473
- Failed merges:
@bors bors merged commit cc98f4c into rust-lang:master May 8, 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.