Avoid ICE on return outside of fn with literal array#64649
Merged
bors merged 2 commits intorust-lang:masterfrom Oct 2, 2019
Merged
Avoid ICE on return outside of fn with literal array#64649bors merged 2 commits intorust-lang:masterfrom
bors merged 2 commits intorust-lang:masterfrom
Conversation
Contributor
|
r? @zackmdavis (rust_highfive has picked a reviewer for you, use r? to override) |
Contributor
Author
|
The beta nomination is low priority, as the ICE has been present in stable for several releases, but it'd be nice if we can get such a small patch out the door sooner rather than later. |
Centril
reviewed
Sep 21, 2019
Member
|
Un-nominating for beta. We do not have the time to deal with possible failures of this patch -- if this hasn't yet landed on master (or even been approved for that), it's not going to land in time for beta backport. @rustbot modify labels: -beta-nominated |
Collaborator
|
☔ The latest upstream changes (presumably #64513) made this pull request unmergeable. Please resolve the merge conflicts. |
Contributor
|
r? @varkor |
Do not ICE when encountering `enum E { A = return [0][0] }`.
20f54ca to
0e6fb8e
Compare
Contributor
|
@bors r+ rollup |
Collaborator
|
📌 Commit 0e6fb8e has been approved by |
tmandry
added a commit
to tmandry/rust
that referenced
this pull request
Oct 2, 2019
Avoid ICE on return outside of fn with literal array
Do not ICE when encountering `enum E { A = return [0][0] }`.
Fix rust-lang#64638.
bors
added a commit
that referenced
this pull request
Oct 2, 2019
Rollup of 11 pull requests Successful merges: - #64649 (Avoid ICE on return outside of fn with literal array) - #64722 (Make all alt builders produce parallel-enabled compilers) - #64801 (Avoid `chain()` in `find_constraint_paths_between_regions()`.) - #64805 (Still more `ObligationForest` improvements.) - #64840 (SelfProfiler API refactoring and part one of event review) - #64885 (use try_fold instead of try_for_each to reduce compile time) - #64942 (Fix clippy warnings) - #64952 (Update cargo.) - #64974 (Fix zebra-striping in generic dataflow visualization) - #64978 (Fully clear `HandlerInner` in `Handler::reset_err_count`) - #64979 (Update books) Failed merges: - #64959 (syntax: improve parameter without type suggestions) r? @ghost
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Do not ICE when encountering
enum E { A = return [0][0] }.Fix #64638.