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 6 pull requests #60843

Closed
wants to merge 48 commits into from
Closed

Conversation

Centril
Copy link
Contributor

@Centril Centril commented May 15, 2019

Successful merges:

Failed merges:

r? @ghost

oli-obk and others added 30 commits May 11, 2019 14:27
We only used a bunch of fields when tokenizing into a token tree,
so let's move them out of the base lexer
See https://github.com/rust-lang/rust/pull/50838/files#r283296243 for
explanation how jointness checking works with *next* pair
matthewjasper and others added 18 commits May 13, 2019 20:42
* Don't generate an extra lint scope for each `let` statement.
* Place match guards inside the visiblility scope of the bindings for
  their arm.
Also give arms the correct lint scope in MIR.
I was incorrectly under the impression that this would only lead to
duplicates. See `mir-opt/match-arm-scope.rs` (upcomming commit) for a
case where we didn't emit a fake borrow of `items.1`.
This ensures that we will correctly generate a storage-dead if the
initializing expression diverges.
Co-Authored-By: matthewjasper <[email protected]>
[email protected] adds a version header to the binary file format which will
help reduce tool breakage in the future.
… r=pnkfelix

Add match arm scopes and other scope fixes

* Add drop and lint scopes for match arms.
* Lint attributes are now respected on match arms.
* Make sure we emit a StorageDead if we diverge when initializing a temporary.
* Adjust MIR pretty printing of scopes for locals.
* Don't generate duplicate lint scopes for `let statements`.
* Add some previously missing fake borrows for matches.

closes rust-lang#46525

cc @rust-lang/compiler
Move token tree related lexer state to a separate struct

Just a types-based refactoring.

We only used a bunch of fields when tokenizing into a token tree, so let's move them out of the base lexer
Bump measureme dependency to 0.3

[email protected] adds a version header to the binary file format which will
help reduce tool breakage in the future.
…=nikic

Update LLVM to fix assertion when compiling to wasm

More details can be found in rust-lang#60540!

Closes rust-lang#60540
CMake: Do not print installation messages for up-to-date files

Closes rust-lang#60830
@Centril
Copy link
Contributor Author

Centril commented May 15, 2019

@bors r+ p=6 rollup=never

@bors
Copy link
Contributor

bors commented May 15, 2019

📌 Commit adb05d1 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 May 15, 2019
@Centril Centril closed this May 15, 2019
@Centril Centril deleted the rollup-ancb0e4 branch May 15, 2019 00:03
@rust-highfive
Copy link
Collaborator

Your PR failed on Travis (raw log). Through arcane magic we have determined that the following fragments from the build log may contain information about the problem.

Click to expand the log.

I'm a bot! I can only do what humans tell me to, so if this was not helpful or you have suggestions for improvements, please ping or otherwise contact @TimNN. (Feature Requests)

@Centril Centril added the rollup A PR which is a rollup label Oct 24, 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 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.

10 participants