diff options
| author | Tim Chevalier <chevalier@alum.wellesley.edu> | 2013-05-02 15:38:19 -0700 |
|---|---|---|
| committer | Tim Chevalier <chevalier@alum.wellesley.edu> | 2013-05-03 13:03:53 -0700 |
| commit | 13df2ea69c332d7a20c7ab394020430a09dad507 (patch) | |
| tree | b22cc70abd3fa39f64e09fffffbc362a88db0d0c /src/rt/rust_kernel.cpp | |
| parent | 4332f8188b5dca743dfe2913b3f50a7a693ee3ef (diff) | |
| download | rust-13df2ea69c332d7a20c7ab394020430a09dad507.tar.gz rust-13df2ea69c332d7a20c7ab394020430a09dad507.zip | |
rustc: Handle struct patterns where the expected type is an enum
Previously, rustc would ICE if you matched on an enum-typed thing with a structure pattern. Error out correctly.
Diffstat (limited to 'src/rt/rust_kernel.cpp')
0 files changed, 0 insertions, 0 deletions
