Rename struct_tail_erasing_lifetimes to struct_tail_for_codegen
This commit is contained in:
@@ -22,7 +22,7 @@ where
|
||||
};
|
||||
|
||||
let ty = place.ty(local_decls, tcx).ty;
|
||||
let unsized_tail = || tcx.struct_tail_erasing_lifetimes(ty, param_env);
|
||||
let unsized_tail = || tcx.struct_tail_for_codegen(ty, param_env);
|
||||
match tcx.layout_of(param_env.and(ty)) {
|
||||
Ok(layout)
|
||||
if layout.align.abi <= pack
|
||||
|
||||
Reference in New Issue
Block a user