diff options
| author | bors <bors@rust-lang.org> | 2016-08-13 01:20:46 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2016-08-13 01:20:46 -0700 |
| commit | e64f68817d850ccbe642d7f067083bc655115d84 (patch) | |
| tree | 8676503b26f5871dd3d83a5276fc5f2ce35b15fe /src/libsyntax | |
| parent | d3c3de8abe63f738113874267dad3b92a1965ecd (diff) | |
| parent | d77a136437a38535522fb3636d165edd4ed49df0 (diff) | |
| download | rust-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/libsyntax')
0 files changed, 0 insertions, 0 deletions
