d2e2bd1b44
This pull request tries to fix #19340, which states two ICE cases related to enum struct variants. It is my first attempt to fix the compiler. I found this solution by trial and error, so the method used to fix the issue looks very hacky. Please review it, and direct me to find a better solution. I'm also to add test cases. Where should I put them? Maybe `src/test/run-pass/issue-19340.rs`? |
||
---|---|---|
.. | ||
compiler-rt@62a4ca6055 | ||
compiletest | ||
doc | ||
driver | ||
etc | ||
grammar | ||
jemalloc@b001609960 | ||
liballoc | ||
libarena | ||
libbacktrace | ||
libcollections | ||
libcore | ||
libcoretest | ||
libflate | ||
libfmt_macros | ||
libgetopts | ||
libgraphviz | ||
liblibc | ||
liblog | ||
librand | ||
librbml | ||
libregex | ||
libregex_macros | ||
librustc | ||
librustc_back | ||
librustc_driver | ||
librustc_llvm | ||
librustc_trans | ||
librustc_typeck | ||
librustdoc | ||
librustrt | ||
libserialize | ||
libstd | ||
libsyntax | ||
libterm | ||
libtest | ||
libtime | ||
libunicode | ||
llvm@ec1fdb3b9d | ||
rt | ||
rustllvm | ||
test | ||
snapshots.txt |