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

Fix irrefutable matches on integer ranges #56695

Merged
merged 1 commit into from
Dec 14, 2018

Conversation

varkor
Copy link
Member

@varkor varkor commented Dec 10, 2018

Fixes #56659.

@rust-highfive
Copy link
Collaborator

r? @pnkfelix

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

@rust-highfive rust-highfive added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Dec 10, 2018
src/librustc_mir/build/matches/simplify.rs Outdated Show resolved Hide resolved
src/librustc_mir/build/matches/simplify.rs Outdated Show resolved Hide resolved
src/librustc_mir/build/matches/simplify.rs Outdated Show resolved Hide resolved
@estebank
Copy link
Contributor

@bors r+

@bors
Copy link
Contributor

bors commented Dec 12, 2018

📌 Commit 510a9ff has been approved by estebank

@bors bors added S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. and removed S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels Dec 12, 2018
kennytm added a commit to kennytm/rust that referenced this pull request Dec 13, 2018
…bank

Fix irrefutable matches on integer ranges

Fixes rust-lang#56659.
kennytm added a commit to kennytm/rust that referenced this pull request Dec 14, 2018
…bank

Fix irrefutable matches on integer ranges

Fixes rust-lang#56659.
kennytm added a commit to kennytm/rust that referenced this pull request Dec 14, 2018
…bank

Fix irrefutable matches on integer ranges

Fixes rust-lang#56659.
bors added a commit that referenced this pull request Dec 14, 2018
Rollup of 14 pull requests (first batch)

Successful merges:

 - #56562 (Update libc version required by rustc)
 - #56609 (Unconditionally emit the target-cpu LLVM attribute.)
 - #56637 (rustdoc: Fix local reexports of proc macros)
 - #56658 (Add non-panicking `maybe_new_parser_from_file` variant)
 - #56695 (Fix irrefutable matches on integer ranges)
 - #56699 (Use a `newtype_index!` within `Symbol`.)
 - #56702 ([self-profiler] Add column for percent of total time)
 - #56708 (Remove some unnecessary feature gates)
 - #56709 (Remove unneeded extra chars to reduce search-index size)
 - #56744 (specialize: remove Boxes used by Children::insert)
 - #56748 (Update panic message to be clearer about env-vars)
 - #56749 (x86: Add the `adx` target feature to whitelist)
 - #56756 (Disable btree pretty-printers on older gdbs)
 - #56789 (rustc: Add an unstable `simd_select_bitmask` intrinsic)

r? @ghost
@bors bors merged commit 510a9ff into rust-lang:master Dec 14, 2018
@varkor varkor deleted the let-exhaustive-range branch December 14, 2018 19:24
@ehuss
Copy link
Contributor

ehuss commented Dec 17, 2018

@varkor thanks for fixing this! I didn't really expect it, since that usage seems very unrealistic.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
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.

7 participants