about summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper/CoverageMappingWrapper.cpp
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2023-08-04 09:18:58 +0200
committerGitHub <noreply@github.com>2023-08-04 09:18:58 +0200
commit1589759334b8278d5c8508f3a853b71246a2b548 (patch)
tree660a7eba103f2ae5c84e9e9787e01491b65b3e4d /compiler/rustc_llvm/llvm-wrapper/CoverageMappingWrapper.cpp
parentd412b91fd1b044f0c7c24bb8663797dbce591c60 (diff)
parentd94d85f3d8c64a216cee1c07f8c1c5384959984d (diff)
downloadrust-1589759334b8278d5c8508f3a853b71246a2b548.tar.gz
rust-1589759334b8278d5c8508f3a853b71246a2b548.zip
Rollup merge of #114022 - oli-obk:tait_ice_alias_field_projection, r=cjgillot
Perform OpaqueCast field projection on HIR, too.

fixes #105819

This is necessary for closure captures in 2021 edition, as they capture individual fields, not the full mentioned variables. So it may try to capture a field of an opaque (because the hidden type is known to be something with a field).

See https://github.com/rust-lang/rust/pull/99806 for when and why we added OpaqueCast to MIR.
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/CoverageMappingWrapper.cpp')
0 files changed, 0 insertions, 0 deletions