about summary refs log tree commit diff
path: root/src/rt/rust_kernel.cpp
diff options
context:
space:
mode:
authorTim Chevalier <chevalier@alum.wellesley.edu>2013-05-02 15:38:19 -0700
committerTim Chevalier <chevalier@alum.wellesley.edu>2013-05-03 13:03:53 -0700
commit13df2ea69c332d7a20c7ab394020430a09dad507 (patch)
treeb22cc70abd3fa39f64e09fffffbc362a88db0d0c /src/rt/rust_kernel.cpp
parent4332f8188b5dca743dfe2913b3f50a7a693ee3ef (diff)
downloadrust-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