Type Alias PolyFnSig

Source
pub type PolyFnSig = Binder<FnSig>;

Aliased Type§

struct PolyFnSig {
    vars: Interned<[BoundVariableKind]>,
    value: FnSig,
}

Fields§

§vars: Interned<[BoundVariableKind]>§value: FnSig

Implementations§

Source§

impl PolyFnSig

Source

pub fn hoist_input_binders(&self) -> Self

Convert a function signature with existentials to one where they are all bound at the top level. Performs a transparent (i.e. not shallow) canonicalization.

Trait Implementations§

Source§

impl Pretty for PolyFnSig

Source§

fn fmt(&self, cx: &PrettyCx<'_, '_>, f: &mut Formatter<'_>) -> Result

Source§

fn default_cx(tcx: TyCtxt<'_>) -> PrettyCx<'_, '_>