about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2022-07-19 13:30:45 +0200
committerGitHub <noreply@github.com>2022-07-19 13:30:45 +0200
commit31473928e993517f4e1909478c573628d8119cdc (patch)
treee50e4827b64645d338120e26e64603b4fe59adc6 /compiler/rustc_codegen_llvm/src
parentbfefd587c081305ab81074fee1ff7fd26b058ef6 (diff)
parent6d2bd541e0066ba8ea429fb2e25a1d080e2e2d99 (diff)
downloadrust-31473928e993517f4e1909478c573628d8119cdc.tar.gz
rust-31473928e993517f4e1909478c573628d8119cdc.zip
Rollup merge of #99384 - compiler-errors:issue-99375, r=oli-obk
use body's param-env when checking if type needs drop

The type comes from the body, so we should be using the body's param-env, as opposed to the ADT's param env, because we know less in the latter compared to the former.

Fixes #99375
Diffstat (limited to 'compiler/rustc_codegen_llvm/src')
0 files changed, 0 insertions, 0 deletions