about summary refs log tree commit diff
path: root/src/rustllvm/RustWrapper.cpp
diff options
context:
space:
mode:
authorManish Goregaokar <manishsmail@gmail.com>2016-06-01 12:57:42 +0530
committerManish Goregaokar <manishsmail@gmail.com>2016-06-01 12:57:42 +0530
commiteba82bb569903ce4f96af8e90e2a55feca816634 (patch)
tree5567c797c9881b4a8f1bca8516658b09997efe06 /src/rustllvm/RustWrapper.cpp
parent0e65b75b3922e9b700ebaec055418086c07ef8a3 (diff)
parentcde0f94a5272a1c00ebe04fc44e19e9e687c3fda (diff)
downloadrust-eba82bb569903ce4f96af8e90e2a55feca816634.tar.gz
rust-eba82bb569903ce4f96af8e90e2a55feca816634.zip
Rollup merge of #33967 - dsprenkels:enum_pattern_resolve_ice, r=petrochenkov
resolve: record pattern def when `resolve_pattern` returns `Err(true)`

I propose a fix for issue #33293.

In 1a374b8, (pr #33046) fixed the error reporting of a specific case, but the change that was introduced did not make sure that `record_def` was called in all cases, which lead to an ICE in [1].
This change restores the original `else` case, but keeps the changes that were committed in 1a374b8.

[1] `rustc::middle::mem_categorization::MemCategorizationContext::cat_pattern_`
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions