pub fn struct_tail_erasing_lifetimes(self,
                                         ty: Ty<'tcx>,
                                         param_env: ty::ParamEnv<'tcx>)
                                         -> Ty<'tcx>
    {
        let tcx = self;
        tcx.struct_tail_with_normalize(ty, |ty| tcx.normalize_erasing_regions(param_env, ty))
    }
/// Returns the deeply last field of nested structures, or the same type if
/// not a structure at all. Corresponds to the only possible unsized field,
/// and its type can be used to determine unsizing strategy.
///
/// Should only be called if `ty` has no inference variables and does not
/// need its lifetimes preserved (e.g. as part of codegen); otherwise
/// normalization attempt may cause compiler bugs.
Returns the deeply last field of nested structures, or the same type if
not a structure at all. Corresponds to the only possible unsized field,
and its type can be used to determine unsizing strategy.

Should only be called if `ty` has no inference variables and does not
need its lifetimes preserved ; otherwise
normalization attempt may cause compiler bugs.
Returns the deeply last field of nested structures or the same type if not a structure at all . Corresponds to the only possible unsized field and its type can be used to determine unsizing strategy . Should only be called if ` ty ` has no inference variables and does not need its lifetimes preserved ; otherwise normalization attempt may cause compiler bugs .
pub fn struct_tail_erasing_lifetimes(self,
                                         ty: Ty<'tcx>,
                                         param_env: ty::ParamEnv<'tcx>)
                                         -> Ty<'tcx>
    {
        let tcx = self;
        tcx.struct_tail_with_normalize(ty, |ty| tcx.normalize_erasing_regions(param_env, ty))
    }
pub fn struct_tail_erasing_lifetimes ( self , ty : Ty < ' tcx > , param_env : ty :: ParamEnv < ' tcx > ) -> Ty < ' tcx > { let tcx = self ; tcx . struct_tail_with_normalize ( ty , | ty | tcx . normalize_erasing_regions ( param_env , ty ) ) }
Returns the deeply last field of nested structures, or the same type if
not a structure at all.
Returns the deeply last field of nested structures or the same type if not a structure at all .
self
ty
Ty<'tcx>
param_env
ty::ParamEnv<'tcx>