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

Merged
merged 20 commits into from
Jun 23, 2017
Merged

Rollup of 8 pull requests #42856

merged 20 commits into from
Jun 23, 2017

Conversation

ids1024 and others added 20 commits June 20, 2017 16:04
Replaced by adding extra imports, adding hidden code (`# ...`), modifying
examples to be runnable (sorry Homura), specifying non-Rust code, and
converting to should_panic, no_run, or compile_fail.

Remaining "```ignore"s received an explanation why they are being ignored.
…bank

Remove most "```ignore" doc tests.

Unconditional ` ```ignore ` doc tests lead to outdated examples (e.g. rust-lang#42729 (comment)). This PR tries to change all existing ` ```ignore ` tests into one of the following:

* Add import and declarations to ensure the code is run-pass
* If the code is not Rust, change to ` ```text `/` ```sh `/` ```json `/` ```dot `
* If the code is expected compile-fail, change to ` ```compile_fail `
* If the code is expected run-fail, change to ` ```should_panic `
* If the code can type-check but cannot link/run, change to ` ```no_run `
* Otherwise, add an explanation after the ` ```ignore `

The `--explain` handling is changed to cope with hidden lines from the error index.

Tidy is changed to reject any unexplained ` ```ignore ` and ` ```rust,ignore `.
Redox: Use create() instead of open() when setting env variable

See redox-os/kernel#25.
…meGomez

add extended information for E0562; impl Trait can only be a return type

r? @GuillaumeGomez
…on-stderr, r=alexcrichton

Print -Zincremental-info to stderr instead of stdout.

Fixes rust-lang#42583.

The [cargo-incremental](https://github.com/nikomatsakis/cargo-incremental) tool probably does not need to be updated. It already merges stdout and stderr before parsing the compiler's output.

r? @alexcrichton
…excrichton

Ensure Guard types impl Display & Debug

Fixes rust-lang#24372
Fix ref as mutable ref in std::rc::Rc doc
Set CXX_<target> in bootstrap

I came across this trying to cross-compile rustc for Redox. It was also mentioned in a comment on rust-lang#42206, but doesn't seem to have been corrected.
…nt, r=Mark-Simulacrum

change span label for E0435

r? @Mark-Simulacrum
@rust-highfive
Copy link
Collaborator

r? @eddyb

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

@Mark-Simulacrum
Copy link
Member Author

@bors r+ p=10

@bors
Copy link
Contributor

bors commented Jun 23, 2017

📌 Commit 9037ef2 has been approved by Mark-Simulacrum

@bors
Copy link
Contributor

bors commented Jun 23, 2017

⌛ Testing commit 9037ef2 with merge 67dd868eb06e53323d5f2191567d1796ba7e5736...

@bors
Copy link
Contributor

bors commented Jun 23, 2017

💔 Test failed - status-travis

@Mark-Simulacrum
Copy link
Member Author

@bors retry

@bors
Copy link
Contributor

bors commented Jun 23, 2017

⌛ Testing commit 9037ef2 with merge 229d0d3...

bors added a commit that referenced this pull request Jun 23, 2017
Rollup of 8 pull requests

- Successful merges: #42777, #42783, #42787, #42821, #42822, #42825, #42829, #42833
- Failed merges:
@bors
Copy link
Contributor

bors commented Jun 23, 2017

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

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.