diff options
| author | Daan Sprenkels <dsprenkels@gmail.com> | 2016-05-30 14:54:22 +0200 |
|---|---|---|
| committer | Daan Sprenkels <dsprenkels@gmail.com> | 2016-05-30 18:31:01 +0200 |
| commit | cde0f94a5272a1c00ebe04fc44e19e9e687c3fda (patch) | |
| tree | 1bf358b39be96c630dfe8e1f713c71aa3b4e6582 /src/rustllvm/RustWrapper.cpp | |
| parent | 8f3e8c7863b5af9c85f13ec546d7897359acd32f (diff) | |
| download | rust-cde0f94a5272a1c00ebe04fc44e19e9e687c3fda.tar.gz rust-cde0f94a5272a1c00ebe04fc44e19e9e687c3fda.zip | |
librustc_resolve: make sure pattern def gets recorded if `resolve_path` returns `Err(true)`
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. This commit fixes issue #33293. [1] `rustc::middle::mem_categorization::MemCategorizationContext::cat_pattern_`
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
