Skip to content

Rollup of 8 pull requests - #44156

Closed
frewsxcv wants to merge 16 commits into
rust-lang:masterfrom
frewsxcv:rollup
Closed

Rollup of 8 pull requests#44156
frewsxcv wants to merge 16 commits into
rust-lang:masterfrom
frewsxcv:rollup

Conversation

vornerand others added 16 commits August 27, 2017 19:20
Make the ./x.py script fail when run with an invalid command, like:
./x.py nonsense
This helps in case of chaining multiple runs, eg.:
./x.py biuld && ./x.py test
The crate itself is internally referenced by serde_derive.
This, as rust-lang#43813, is due to the author of rust-lang#43728 (specifically,
3645b06) being a damnably contemptible fool. Before this entire
fiasco, we would return early from the unusedness late lints pass if
the type of the expression within the `hir::StmtSemi` was `!`, `()`,
or a boolean: these types would never get to the point of being marked
as unused results. That is, until the dunce who somehow (!?) came to
be trusted with the plum responsibility of implementing RFC
1940 (`#[must_use]` for functions) went and fouled everything up,
removing the early returns based on the (stupid) thought that there
would be no harm in it, since we would need to continue to check these
types being returned from must_use functions (which was true for the
booleans, at least). But there was harm—harm that any
quarter-way-competent programmer would have surely forseen! For after
the new functional-must-use checks, there was nothing to stop the
previously-returned-early types from falling through to be marked by
the unused-results lint!—a monumentally idiotic error that has cost
the project tens of precious developer- and reviewer-minutes dealing
with the fallout here and in rust-lang#43813.
If 3645b06 is representative of the standard of craftsmanship the
rising generation of software engineers holds themselves to, I weep
for the future of our technological civilization.
Resolvesrust-lang#44119.
in particular:
* show how to create an iterator that yields multiple socket addresses
* show more failing scenarios
No need to depend on librustc! All we need is libstd
Closesrust-lang#44140
…xamples, r=QuietMisdreavus
Rewrite `std::net::ToSocketAddrs` doc examples.
in particular:
* show how to create an iterator that yields multiple socket addresses
* show more failing scenarios
done this as preliminary work while investigating rust-lang#22569
note: i haven't run doc tests on my machine for this, so would be good to confirm CI passes before approving
… r=Mark-Simulacrum
bootstrap: remove unneeded extern crate
The crate itself is internally referenced by serde_derive.
…_results, r=eddyb
un-regress behavior of `unused_results` lint for booleans
Resolvesrust-lang#44119.
…matsakis
compiletest: Change Config comments to doc comments
I plan to make the same change in compiletest-rs, to have some documentation in [the docs](https://docs.rs/compiletest_rs/0.2.9/compiletest_rs/common/struct.Config.html).
…akis
Fail ./x.py on invalid command
Make the ./x.py script fail when run with an invalid command, like:
```
./x.py nonsense
```
This helps in case of chaining multiple runs, eg.:
```
./x.py biuld && ./x.py test
```
…etMisdreavus
Fix invalid linker position
Fixesrust-lang#44120.
Result isn't "optimal" though because there are spaces at the end of some lines.
…r=Manishearth
Deprecate several flags in rustdoc
Part of rust-lang#44136
cc @rust-lang/dev-tools @rust-lang/docs
This is a very basic PR to start deprecating some flags; `rustdoc` doesn't really have fancy output options like `rustc` does, so I went with `eprintln!`. Happy to change it if people feel that's not appropriate.
Also, I have no idea if we can or should write tests here, so I didn't try. If someone feels strongly about it, then let's do it, but given that the only outcome here is a side effect...
…r=Mark-Simulacrum
rustbuild: Fix dependencies of build-manifest
No need to depend on librustc! All we need is libstd
Closesrust-lang#44140
@rust-highfive

Copy link
Copy Markdown
Contributor

Some changes occurred in HTML/CSS.

cc @GuillaumeGomez

@rust-highfive

Copy link
Copy Markdown
Contributor

r? @sfackler

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

@frewsxcv

Copy link
Copy Markdown
ContributorAuthor

@bors r+ p=10

@bors

bors commented Aug 29, 2017

Copy link
Copy Markdown
Collaborator

📌 Commit 5ac2ff5 has been approved by frewsxcv

@bors

bors commented Aug 29, 2017

Copy link
Copy Markdown
Collaborator

⌛ Testing commit 5ac2ff5 with merge 3e838e31fb90f81eb51746a6f1a4c855c771b690...

@bors

bors commented Aug 29, 2017

Copy link
Copy Markdown
Collaborator

💔 Test failed - status-travis

@frewsxcv
frewsxcv deleted the rollup branch August 29, 2017 17:34
@CentrilCentril added the rollup A PR which is a rollup label Oct 24, 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.

11 participants

@frewsxcv@rust-highfive@bors@Centril@sfackler@vorner@ishitatsuyuki@zackmdavis@GuillaumeGomez@steveklabnik@alexcrichton