Skip to content

Rollup of 8 pull requests #64230

New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Merged
merged 17 commits into from
Sep 6, 2019
Merged

Rollup of 8 pull requests #64230

merged 17 commits into from
Sep 6, 2019

Conversation

Centril
Copy link
Contributor

@Centril Centril commented Sep 6, 2019

Successful merges:

Failed merges:

r? @ghost

GuillaumeGomez and others added 17 commits August 30, 2019 10:38
Previously the build would take the presence of the LLVM_CONFIG envvar to
mean that the sanitizers should be built, but this is a common envvar that
could be set for reasons unrelated to the rustc sanitizers.

This commit adds a new envvar RUSTC_BUILD_SANITIZERS and uses it instead.
This moves the two methods from the `EmitterWriter` impl to trait
default methods in the `Emitter` trait so that they can be re-used by
the `AnnotateSnippetEmitterWriter`.

Closes rust-lang#61810
The tracking issue has been replaced by one with mentoring instructions.
…tthewjasper

Rust 2018: NLL migrate mode => hard error

As per decision on a language team meeting as described in rust-lang#63565 (comment), we refuse to downgrade NLL errors, that AST borrowck accepts, into warnings and keep them as hard errors.

cc @rust-lang/lang
cc @rust-lang/wg-compiler-nll
… r=sfackler

Add missing examples for Option type

cc @rust-lang/docs
…xcrichton

Remove no-prefer-dynamic from valgrind tests

This seems to be working locally.

Resolves rust-lang#31968
Better way of conditioning the sanitizer builds

Previously the build would take the presence of the LLVM_CONFIG envvar to
mean that the sanitizers should be built, but this is a common envvar that
could be set for reasons unrelated to the rustc sanitizers.

This commit adds a new envvar RUSTC_BUILD_SANITIZERS and uses it instead.

This PR or similar will be necessary in order to work correctly with rust-lang/compiler-builtins#296
annotate-snippet emitter: Deal with multispans from macros, too

This moves the two methods from the `EmitterWriter` impl to trait
default methods in the `Emitter` trait so that they can be re-used by
the `AnnotateSnippetEmitterWriter`.

r? @estebank

Closes rust-lang#61810
Fixed grammar/style in some error messages

Factored out from hacking on rustc for work on the REPL.

r? @Centril
annotate-snippet emitter: Update an issue number

The tracking issue has been replaced by one with mentoring instructions (rust-lang#64205).
it's more pythonic to use 'is not None' in python files
@Centril
Copy link
Contributor Author

Centril commented Sep 6, 2019

@bors r+ p=8 rollup=never

@bors
Copy link
Collaborator

bors commented Sep 6, 2019

📌 Commit ee54499 has been approved by Centril

@bors bors added the S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. label Sep 6, 2019
@bors
Copy link
Collaborator

bors commented Sep 6, 2019

⌛ Testing commit ee54499 with merge 6e19f3f...

bors added a commit that referenced this pull request Sep 6, 2019
Rollup of 8 pull requests

Successful merges:

 - #63565 (Rust 2018: NLL migrate mode => hard error)
 - #63969 (Add missing examples for Option type)
 - #64067 (Remove no-prefer-dynamic from valgrind tests)
 - #64166 (Better way of conditioning the sanitizer builds)
 - #64189 (annotate-snippet emitter: Deal with multispans from macros, too)
 - #64202 (Fixed grammar/style in some error messages)
 - #64206 (annotate-snippet emitter: Update an issue number)
 - #64208 (it's more pythonic to use 'is not None' in python files)

Failed merges:

r? @ghost
@bors
Copy link
Collaborator

bors commented Sep 6, 2019

☀️ Test successful - checks-azure
Approved by: Centril
Pushing 6e19f3f to master...

@bors bors added the merged-by-bors This PR was explicitly merged by bors. label Sep 6, 2019
@bors bors merged commit ee54499 into rust-lang:master Sep 6, 2019
@rust-highfive
Copy link
Contributor

📣 Toolstate changed by #64230!

Tested on commit 6e19f3f.
Direct link to PR: #64230

💔 miri on windows: test-pass → test-fail (cc @oli-obk @RalfJung @eddyb, @rust-lang/infra).
💔 miri on linux: test-pass → test-fail (cc @oli-obk @RalfJung @eddyb, @rust-lang/infra).

rust-highfive added a commit to rust-lang-nursery/rust-toolstate that referenced this pull request Sep 6, 2019
Tested on commit rust-lang/rust@6e19f3f.
Direct link to PR: <rust-lang/rust#64230>

💔 miri on windows: test-pass → test-fail (cc @oli-obk @RalfJung @eddyb, @rust-lang/infra).
💔 miri on linux: test-pass → test-fail (cc @oli-obk @RalfJung @eddyb, @rust-lang/infra).
@Centril Centril deleted the rollup-vxyczjq branch September 7, 2019 05:06
@Centril Centril added the rollup A PR which is a rollup label Oct 2, 2019
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
merged-by-bors This PR was explicitly merged by bors. rollup A PR which is a rollup S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

8 participants