diff options
| author | Cameron Steffen <cam.steffen94@gmail.com> | 2021-01-18 11:55:23 -0600 |
|---|---|---|
| committer | Cameron Steffen <cam.steffen94@gmail.com> | 2021-01-18 13:38:14 -0600 |
| commit | 63a1eeea234105fd9c1ed30ac2b6e0d9bf41a1e9 (patch) | |
| tree | 619b7b888f7f821b34de187309c818f135996a03 /compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp | |
| parent | 5e91c4ecc09312d8b63d250a432b0f3ef83f1df7 (diff) | |
| download | rust-63a1eeea234105fd9c1ed30ac2b6e0d9bf41a1e9.tar.gz rust-63a1eeea234105fd9c1ed30ac2b6e0d9bf41a1e9.zip | |
Reset LateContext enclosing body in nested items
Prevents LateContext::maybe_typeck_results() from returning data in a nested item without a body. Consequently, LateContext::qpath_res is less likely to ICE when called in a nested item. Would have prevented rust-lang/rust-clippy#4545, presumably.
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
