Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.
Sign upICE when break and enum variants mixed in `match` arms #41213
Comments
TimNN
added
I-ICE
regression-from-stable-to-stable
T-compiler
labels
Apr 11, 2017
This comment has been minimized.
This comment has been minimized.
|
This was introduced between 1.11 and 1.12. |
This comment has been minimized.
This comment has been minimized.
|
cc @nikomatsakis @canndrew This looks like it has something to do with the |
This comment has been minimized.
This comment has been minimized.
|
looking at it. |
brson
assigned
arielb1
Apr 11, 2017
This comment has been minimized.
This comment has been minimized.
|
Indeed, probably something I introduced. |
This comment has been minimized.
This comment has been minimized.
|
@arielb1 are you going to have time to investigate, or you want me to? |
This comment has been minimized.
This comment has been minimized.
|
Sorry. Was busy yesterday. I'll look at it today or tommorow. |
This comment has been minimized.
This comment has been minimized.
|
Wrong comment: // No adjustments can produce a fn item, so this should never trip. |
arielb1
added a commit
to arielb1/rust
that referenced
this issue
Apr 13, 2017
arielb1
referenced this issue
Apr 13, 2017
Merged
rustc_typeck: consolidate adjustment composition #41279
bors
added a commit
that referenced
this issue
Apr 14, 2017
frewsxcv
added a commit
to frewsxcv/rust
that referenced
this issue
Apr 14, 2017
bors
closed this
in
#41279
Apr 14, 2017
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
KeenS commentedApr 11, 2017
I tried this code:
then, rustc crashes with this message.
Meta
rustc --version --verbose:Note
breakarm isn't the first, ICE doesn't occur.