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.