We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d5e9cc5 commit a211d63Copy full SHA for a211d63
src/type_of.rs
@@ -240,7 +240,7 @@ impl<'tcx> LayoutGccExt<'tcx> for TyAndLayout<'tcx> {
240
241
// Make sure lifetimes are erased, to avoid generating distinct LLVM
242
// types for Rust types that only differ in the choice of lifetimes.
243
- let normal_ty = cx.tcx.erase_regions(self.ty);
+ let normal_ty = cx.tcx.erase_and_anonymize_regions(self.ty);
244
245
let mut defer = None;
246
let ty = if self.ty != normal_ty {
0 commit comments