rustc_middle::ty::sty

Type Alias EarlyBinder

source
pub type EarlyBinder<'tcx, T> = EarlyBinder<TyCtxt<'tcx>, T>;

Aliased Type§

struct EarlyBinder<'tcx, T> { /* private fields */ }

Trait Implementations§

source§

impl<T: EraseType> EraseType for EarlyBinder<'_, T>

source§

impl<T: ParameterizedOverTcx> ParameterizedOverTcx for EarlyBinder<'static, T>

source§

type Value<'tcx> = EarlyBinder<TyCtxt<'tcx>, <T as ParameterizedOverTcx>::Value<'tcx>>

source§

impl<'tcx> Value<TyCtxt<'tcx>> for EarlyBinder<'_, Binder<'_, FnSig<'_>>>

source§

fn from_cycle_error( tcx: TyCtxt<'tcx>, cycle_error: &CycleError, guar: ErrorGuaranteed, ) -> Self

source§

impl<'tcx> Value<TyCtxt<'tcx>> for EarlyBinder<'_, Ty<'_>>

source§

fn from_cycle_error( tcx: TyCtxt<'tcx>, cycle_error: &CycleError, guar: ErrorGuaranteed, ) -> Self

Layout§

Note: Unable to compute type layout, possibly due to this type having generic parameters. Layout can only be computed for concrete, fully-instantiated types.