1
Fork 0
rust/compiler/rustc_codegen_llvm/src/debuginfo
Dylan DPC 6b03a46f27
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!
2022-02-24 21:42:15 +01:00
..
create_scope_map.rs Remove in_band_lifetimes from rustc_codegen_llvm 2021-12-16 14:43:32 -05:00
doc.md Cleanup LLVM debuginfo module docs 2021-03-20 14:38:49 -07:00
gdb.rs Remove in_band_lifetimes from rustc_codegen_llvm 2021-12-16 14:43:32 -05:00
metadata.rs Rollup merge of #94242 - compiler-errors:fat-uninhabitable-pointer, r=michaelwoerister 2022-02-24 21:42:15 +01:00
mod.rs Overhaul TyS and Ty. 2022-02-15 16:03:24 +11:00
namespace.rs Remove in_band_lifetimes from rustc_codegen_llvm 2021-12-16 14:43:32 -05:00
utils.rs properly handle fat pointers to uninhabitable types 2022-02-23 08:20:12 -08:00