about summary refs log tree commit diff
path: root/src/liballoc
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2016-08-13 01:20:46 -0700
committerGitHub <noreply@github.com>2016-08-13 01:20:46 -0700
commite64f68817d850ccbe642d7f067083bc655115d84 (patch)
tree8676503b26f5871dd3d83a5276fc5f2ce35b15fe /src/liballoc
parentd3c3de8abe63f738113874267dad3b92a1965ecd (diff)
parentd77a136437a38535522fb3636d165edd4ed49df0 (diff)
downloadrust-e64f68817d850ccbe642d7f067083bc655115d84.tar.gz
rust-e64f68817d850ccbe642d7f067083bc655115d84.zip
Auto merge of #35348 - scottcarr:discriminant2, r=nikomatsakis
[MIR] Add explicit SetDiscriminant StatementKind for deaggregating enums

cc #35186

To deaggregate enums, we need to be able to explicitly set the discriminant.  This PR implements a new StatementKind that does that.

I think some of the places that have `panics!` now could maybe do something smarter.
Diffstat (limited to 'src/liballoc')
0 files changed, 0 insertions, 0 deletions