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 #29039

Merged
merged 25 commits into from
Oct 14, 2015
Merged

Rollup of 11 pull requests #29039

merged 25 commits into from
Oct 14, 2015

Conversation

frewsxcv and others added 14 commits October 12, 2015 15:40
This rather crucial requirement was not checked. In most cases, that
didn't cause any trouble because the argument types are required to
outlive the call and are subtypes of a subformula of the callee type.

However, binary ops are taken by ref only indirectly, without it being
marked in the argument types, which led to the argument types not being
constrained anywhere causing spurious errors (as these are basically
unconstrainable, I don't think this change can break code). Of course,
the old way was also incorrent with contravariance, but that is still
unsound for other reasons.

This also improves rustc::front to get RUST_LOG to *somewhat* work.

Fixes rust-lang#28999
Having this code section hidden is misleading because it makes it look like implementing Circle for Foo automatically makes Foo implement Shape.
Flesh the docs out with examples.
This reverts commit 5b8335e.
The link is broken here: <https://doc.rust-lang.org/std/io/#types>.

Looks like crate documentation generator uses only first paragraph of the module documentation and 
so doesn't resolve the link defined below.
@Manishearth
Copy link
Member Author

@bors r+ rollup

@bors
Copy link
Contributor

bors commented Oct 14, 2015

📌 Commit 0c7839a has been approved by Manishearth

@rust-highfive
Copy link
Collaborator

r? @alexcrichton

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

@Manishearth
Copy link
Member Author

@bors rollup-

derp

@Manishearth
Copy link
Member Author

@bors p=10

@bors
Copy link
Contributor

bors commented Oct 14, 2015

⌛ Testing commit 0c7839a with merge 5cef48e...

@bors
Copy link
Contributor

bors commented Oct 14, 2015

💔 Test failed - auto-mac-64-opt

…I, r=alexcrichton

Hi Rustaceans!

This is the second version of running rustfmt on liblog rust-lang#28898. There are only rustfmt suggested changes. Because I think that some patterns here (that I fixed up in the prev PR need to be discussed in detail.

//cc @nrc
…felix

This rather crucial requirement was not checked. In most cases, that
didn't cause any trouble because the argument types are required to
outlive the call and are subtypes of a subformula of the callee type.

However, binary ops are taken by ref only indirectly, without it being
marked in the argument types, which led to the argument types not being
constrained anywhere causing spurious errors (as these are basically
unconstrainable, I don't think this change can break code). Of course,
the old way was also incorrent with contravariance, but that is still
unsound for other reasons.

This also improves rustc::front to get RUST_LOG to *somewhat* work.

Fixes rust-lang#28999. That issue is one of the several regression introduced by rust-lang#28669.

r? @pnkfelix
…ision_link, r=alexcrichton

This link was added in rust-lang#28842 but doesn't work at https://doc.rust-lang.org/nightly/book/lifetimes.html. What works in my markdown preview doesn't work live, and vice versa.
Having this code section hidden is misleading because it makes it look like implementing Circle for Foo automatically makes Foo implement Shape.
…alexcrichton

Flesh the docs out with examples.
…bitflags, r=alexcrichton

Hi Rustaceans!

This is the result of running latest rustfmt on librustc_bitflags!

//cc @nrc
r? @steveklabnik

The link is broken here: <https://doc.rust-lang.org/std/io/#types>.

Looks like crate documentation generator uses only first paragraph of the module documentation and
so doesn't resolve the link defined below.

Probably this behaviour of the documentation generator should be considered as a bug and should be reported.
@Manishearth
Copy link
Member Author

@bors r+ p=10 force

@bors
Copy link
Contributor

bors commented Oct 14, 2015

📌 Commit b330df2 has been approved by Manishearth

@bors
Copy link
Contributor

bors commented Oct 14, 2015

⌛ Testing commit b330df2 with merge 9307d45...

@Manishearth
Copy link
Member Author

@bors r+ p=10 force

@bors
Copy link
Contributor

bors commented Oct 14, 2015

📌 Commit 66b58d1 has been approved by Manishearth

@Manishearth
Copy link
Member Author

@bors force

@bors
Copy link
Contributor

bors commented Oct 14, 2015

⌛ Testing commit 66b58d1 with merge 294ef5b...

bors added a commit that referenced this pull request Oct 14, 2015
@bors bors merged commit 66b58d1 into rust-lang:master Oct 14, 2015
@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.