about summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper/Linker.cpp
diff options
context:
space:
mode:
authorDylan DPC <99973273+Dylan-DPC@users.noreply.github.com>2022-02-24 21:42:15 +0100
committerGitHub <noreply@github.com>2022-02-24 21:42:15 +0100
commit6b03a46f27821ef5986bd8ab12e5e65cb98fa790 (patch)
treebdf368f3b7a8449ae1a688b7e98f23cabd7dd2bd /compiler/rustc_llvm/llvm-wrapper/Linker.cpp
parent7fb55b4c3a308d09a4926d6d7dcce5c13c64eb7f (diff)
parentc73a2f8a652134bd7bf00ca61ca65bd7adb8aec7 (diff)
downloadrust-6b03a46f27821ef5986bd8ab12e5e65cb98fa790.tar.gz
rust-6b03a46f27821ef5986bd8ab12e5e65cb98fa790.zip
Rollup merge of #94242 - compiler-errors:fat-uninhabitable-pointer, r=michaelwoerister
properly handle fat pointers to uninhabitable types

Calculate the pointee metadata size by using `tcx.struct_tail_erasing_lifetimes` instead of duplicating the logic in `fat_pointer_kind`. Open to alternatively suggestions on how to fix this.

Fixes #94149

r? ````@michaelwoerister```` since you touched this code last, I think!
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/Linker.cpp')
0 files changed, 0 insertions, 0 deletions