about summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper/Linker.cpp
diff options
context:
space:
mode:
authorCameron Steffen <cam.steffen94@gmail.com>2021-01-18 11:55:23 -0600
committerCameron Steffen <cam.steffen94@gmail.com>2021-01-18 13:38:14 -0600
commit63a1eeea234105fd9c1ed30ac2b6e0d9bf41a1e9 (patch)
tree619b7b888f7f821b34de187309c818f135996a03 /compiler/rustc_llvm/llvm-wrapper/Linker.cpp
parent5e91c4ecc09312d8b63d250a432b0f3ef83f1df7 (diff)
downloadrust-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/Linker.cpp')
0 files changed, 0 insertions, 0 deletions